diff --git a/src/http/header/preference.rs b/src/http/header/preference.rs index 9a69e1a1a..979fc7720 100644 --- a/src/http/header/preference.rs +++ b/src/http/header/preference.rs @@ -20,12 +20,12 @@ pub enum Preference { } impl Preference { - /// Returns true if the preference is the any/wildcard (`*`) value. + /// Returns true if preference is the any/wildcard (`*`) value. pub fn is_any(&self) -> bool { matches!(self, Self::Any) } - /// Returns true if variant is a specific item (`T`) variant. + /// Returns true if preference is the specific item (`T`) variant. pub fn is_specific(&self) -> bool { matches!(self, Self::Specific(_)) }