Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat committed Mar 14, 2022
1 parent 65219f7 commit 5d6d882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa_engine/src/value/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl JsValue {
}

if let Ok(y) = JsBigInt::try_from(y) {
return Ok((*x < y).into());
return Ok((*x < y).into());
}

(x.to_f64() < y).into()
Expand All @@ -552,7 +552,7 @@ impl JsValue {
}

if let Ok(x) = JsBigInt::try_from(x) {
return Ok((x < *y).into());
return Ok((x < *y).into());
}

(x < y.to_f64()).into()
Expand Down

0 comments on commit 5d6d882

Please sign in to comment.