mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-10 14:24:31 +00: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