diff --git a/quinn-proto/src/shared.rs b/quinn-proto/src/shared.rs index 6ca41f003..d4a402d24 100644 --- a/quinn-proto/src/shared.rs +++ b/quinn-proto/src/shared.rs @@ -155,7 +155,7 @@ pub enum EcnCodepoint { impl EcnCodepoint { /// Create new object from the given bits pub fn from_bits(x: u8) -> Option { - use self::EcnCodepoint::*; + use EcnCodepoint::*; Some(match x & 0b11 { 0b10 => Ect0, 0b01 => Ect1,