Skip to content

Commit

Permalink
Rework PartialEq impl
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-Bertholet committed Jul 23, 2021
1 parent 8eb4c87 commit d7c3b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/js-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ macro_rules! bigint_from {
impl PartialEq<$x> for BigInt {
#[inline]
fn eq(&self, other: &$x) -> bool {
JsValue::from(self) == JsValue::from(BigInt::from(*other))
JsValue::from(self) == BigInt::from(*other).unchecked_into::<JsValue>()
}
}
)*)
Expand Down

0 comments on commit d7c3b74

Please sign in to comment.