Valentin Gosu пре 2 година
родитељ
комит
e39c9a20be
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      url/src/lib.rs

+ 1 - 1
url/src/lib.rs

@@ -2697,7 +2697,7 @@ impl Ord for Url {
 impl PartialOrd for Url {
     #[inline]
     fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
-        self.serialization.partial_cmp(&other.serialization)
+        Some(self.cmp(other))
     }
 }