Skip to content

Commit

Permalink
MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Jan 11, 2024
1 parent 37af951 commit d6cec67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/libs/core/src/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ impl PartialEq for VARIANT {
let this = PROPVARIANT::try_from(self);
let other = PROPVARIANT::try_from(other);

let (Ok(this), Ok(other)) = (this, other) else {
return false;
};

this.eq(&other)
if let (Ok(this), Ok(other)) = (this, other) {
this.eq(&other)
} else {
false
}
}
}
}
Expand Down

0 comments on commit d6cec67

Please sign in to comment.