Skip to content

Commit 58a00d4

Browse files
committed
Update cfg to fix warnings
1 parent 1e335e0 commit 58a00d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/float/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ pub mod trunc;
1414

1515
public_test_dep! {
1616
/// Trait for some basic operations on floats
17+
#[allow(dead_code)]
1718
pub(crate) trait Float:
1819
Copy
1920
+ core::fmt::Debug

src/int/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ pub use self::leading_zeros::__clzsi2;
1313

1414
public_test_dep! {
1515
/// Trait for some basic operations on integers
16+
#[allow(dead_code)]
1617
pub(crate) trait Int:
1718
Copy
1819
+ core::fmt::Debug

0 commit comments

Comments
 (0)