mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-26 23:25:56 -05: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 {
|
||||
match self.partial_cmp(other) {
|
||||
Some(Ordering::Less) => false,
|
||||
Some(Ordering::Less) | Some(Ordering::Equal) => false,
|
||||
_ => true,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user