From e76059986618b3dce4b3a8205347c60db88113b4 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 2 Dec 2021 13:14:32 +0000 Subject: [PATCH] fixup docs --- src/http/header/preference.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(_)) }