Skip to content

Commit

Permalink
style(tls): Remove unused closure
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Aug 10, 2024
1 parent 5c32b6d commit a39ba21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl TlsConnector {
// Get the `HttpsLayer` or create it if it doesn't exist.
let layer = self
.inner
.get_or_try_init(|| async { self.build_layer().await })
.get_or_try_init(|| self.build_layer())
.await
.map(Clone::clone)?;

Expand Down

0 comments on commit a39ba21

Please sign in to comment.