Skip to content

Commit

Permalink
Remove unnecessary format call
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Mar 15, 2021
1 parent 664aff8 commit 3423206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/reading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn can_read_unscaled_14bit() {

fn assert_near_positive(a: f32, b: f32) {
if (a - b).abs() > 0.1 {
panic!(format!("{} vs {}", a, b));
panic!("{} vs {}", a, b);
}
}

Expand Down

0 comments on commit 3423206

Please sign in to comment.