mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-14 09:33:44 +01:00
Fix gt()
This commit is contained in:
parent
f3e6cc6ffd
commit
dd684753d0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl PartialOrd<i32> for UserOrgType {
|
|||
|
||||
fn gt(&self, other: &i32) -> bool {
|
||||
match self.partial_cmp(other) {
|
||||
Some(Ordering::Less) => false,
|
||||
Some(Ordering::Less) | Some(Ordering::Equal) => false,
|
||||
_ => true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue