Skip to content

Commit

Permalink
Apply clippy suggestions for Rust 1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jan 30, 2023
1 parent 5ef6094 commit df8eda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connector/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ mod tests {
.build();
assert_eq!(&connector.tls_config.alpn_protocols, &[b"h2".to_vec()]);
let connector = HttpsConnectorBuilder::new()
.with_tls_config(tls_config.clone())
.with_tls_config(tls_config)
.https_only()
.enable_http1()
.enable_http2()
Expand Down

0 comments on commit df8eda4

Please sign in to comment.