diff --git a/src/header/value.rs b/src/header/value.rs index 6b0179e..31ad888 100644 --- a/src/header/value.rs +++ b/src/header/value.rs @@ -280,7 +280,7 @@ impl PartialOrd for str { impl PartialOrd for [u8] { fn partial_cmp(&self, other: &HeaderValue) -> Option { - self.as_bytes().partial_cmp(other.as_bytes()) + self.partial_cmp(other.as_bytes()) } }