mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-01-28 01:18:55 -05: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 {
|
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…
Add table
Reference in a new issue