mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-09 23:31:00 +00:00
Fix gt()
This commit is contained in:
parent
f3e6cc6ffd
commit
dd684753d0
@ -86,7 +86,7 @@ impl PartialOrd<i32> for UserOrgType {
|
|||||||
|
|
||||||
fn gt(&self, other: &i32) -> bool {
|
fn gt(&self, other: &i32) -> bool {
|
||||||
match self.partial_cmp(other) {
|
match self.partial_cmp(other) {
|
||||||
Some(Ordering::Less) => false,
|
Some(Ordering::Less) | Some(Ordering::Equal) => false,
|
||||||
_ => true,
|
_ => true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user