Skip to content

Commit 5b789fb

Browse files
committed
Update for new warn-by-default clippy lints
Remove an import that is actually unused, and silence the approximate constant lint because it isn't always correct here.
1 parent 71f73a5 commit 5b789fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libm/src/math/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(clippy::approx_constant)] // many false positives
2+
13
macro_rules! force_eval {
24
($e:expr) => {
35
unsafe { ::core::ptr::read_volatile(&$e) }

0 commit comments

Comments
 (0)