Skip to content

Commit

Permalink
Fix clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
youngman-g committed Jul 14, 2024
1 parent a765600 commit 5401837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tx2-web/rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pub fn tx2_next_simulated_tick(tx2: &Tx2) -> f64 {
// We use next_after to round f up slightly to ensure that the
// tick time used by the next JS call to tick() is actually a
// different time to the current tick.
let f = next.as_secs_f64().next_after(std::f64::INFINITY);
let f = next.as_secs_f64().next_after(f64::INFINITY);
event!(
Level::TRACE,
"tx2_next_simulated_tick: next={next:?}, f={f:?}"
Expand Down

0 comments on commit 5401837

Please sign in to comment.