Fix HeaderValue partial_cmp implementation.

Aka, I should make sure that I have no uncommitted changes before
pushing and merging a PR.
This commit is contained in:
Carl Lerche
2017-05-10 11:33:45 -07:00
parent 607f0aebdd
commit 20083df4cc
+1 -1
View File
@@ -280,7 +280,7 @@ impl PartialOrd<HeaderValue> for str {
impl PartialOrd<HeaderValue> for [u8] {
fn partial_cmp(&self, other: &HeaderValue) -> Option<cmp::Ordering> {
self.as_bytes().partial_cmp(other.as_bytes())
self.partial_cmp(other.as_bytes())
}
}