Valentin Gosu 2 lat temu
rodzic
commit
e39c9a20be
1 zmienionych plików z 1 dodań i 1 usunięć
  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))
     }
 }