diff --git a/src/status.rs b/src/status.rs index 52a57233..1fccde59 100644 --- a/src/status.rs +++ b/src/status.rs @@ -591,6 +591,7 @@ impl From for u16 { /// to get the appropriate *category* of status. #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Copy)] #[deprecated(note = "StatusClass is going away. Use the StatusCode::is_() methods instead.")] +#[allow(deprecated)] pub enum StatusClass { /// 1xx (Informational): The request was received, continuing process Informational,