jid: Fix a clippy warning
The other three are about missing Self in the new method’s return type, but these return the Cow type instead so that’s how they’re meant to be.
This commit is contained in:
parent
1adccee40b
commit
ff588d834e
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ impl PartialEq for Jid {
|
|||
|
||||
impl PartialOrd for Jid {
|
||||
fn partial_cmp(&self, other: &Jid) -> Option<Ordering> {
|
||||
self.normalized.partial_cmp(&other.normalized)
|
||||
Some(self.cmp(other))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue