Skip to content

Commit a4517af

Browse files
authored
Address dead_code lint for quic todo part (#61)
1 parent e6d5ed9 commit a4517af

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

Cargo.lock

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/quic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crypto_common::typenum::Unsigned;
99
use rustls::crypto::cipher::{self, AeadKey, Iv};
1010
use rustls::{quic, Error, Tls13CipherSuite};
1111

12+
#[allow(dead_code)] // TODO
1213
pub struct HeaderProtectionKey(AeadKey);
1314

1415
impl HeaderProtectionKey {
@@ -122,6 +123,7 @@ impl quic::PacketKey for PacketKey {
122123
}
123124
}
124125

126+
#[allow(dead_code)] // TODO
125127
pub struct KeyBuilder(AeadKey);
126128

127129
impl rustls::quic::Algorithm for KeyBuilder {

0 commit comments

Comments
 (0)