diff --git a/neqo-crypto/src/constants.rs b/neqo-crypto/src/constants.rs index b349059407..a7c663db72 100644 --- a/neqo-crypto/src/constants.rs +++ b/neqo-crypto/src/constants.rs @@ -52,17 +52,6 @@ impl From for usize { } } -impl std::fmt::Display for Epoch { - fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { - match self { - Self::Initial => write!(f, "Initial"), - Self::ZeroRtt => write!(f, "ZeroRtt"), - Self::Handshake => write!(f, "Handshake"), - Self::ApplicationData => write!(f, "ApplicationData"), - } - } -} - /// Rather than defining a type alias and a bunch of constants, which leads to a ton of repetition, /// use this macro. macro_rules! remap_enum { diff --git a/neqo-transport/src/crypto.rs b/neqo-transport/src/crypto.rs index 76db1fdad2..f890d2156a 100644 --- a/neqo-transport/src/crypto.rs +++ b/neqo-transport/src/crypto.rs @@ -448,7 +448,7 @@ impl CryptoDxState { cipher: Cipher, ) -> Res { qdebug!( - "Making {:?} {} CryptoDxState, v={:?} cipher={}", + "Making {:?} {:?} CryptoDxState, v={:?} cipher={}", direction, epoch, version,