Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Sep 30, 2024
1 parent 0e7fe97 commit 3d3d3cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl FtpFs {
#[cfg(feature = "rustls")]
fn setup_tls_connector(&self) -> RemoteResult<TlsConnector> {
let mut root_store = suppaftp::rustls::RootCertStore::empty();
root_store.add_server_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
root_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
suppaftp::rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,
Expand Down

0 comments on commit 3d3d3cb

Please sign in to comment.