Skip to content

Commit

Permalink
build: fix clippy warnings for 1.77 (#2158)
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft authored Mar 22, 2024
1 parent d9c6bd6 commit 26874c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl ClientHelloCallback for ConfigCache {
.into();
Ok(config)
});
fut.await.map(|config| config.clone())
fut.await.cloned()
};

// return `Some(ConnectionFuture)` if the Config wasn't found in the
Expand Down
2 changes: 2 additions & 0 deletions quic/s2n-quic/src/provider/packet_interceptor.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

// this is only exposed as an unstable provider so we get warnings without this
#[allow(unused_imports)]
pub use s2n_quic_core::packet::interceptor::{
loss, Disabled, Havoc, Interceptor as PacketInterceptor, Loss,
};
Expand Down

0 comments on commit 26874c2

Please sign in to comment.