Skip to content

Commit

Permalink
Update cfg to fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed May 6, 2024
1 parent 1e335e0 commit 58a00d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/float/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub mod trunc;

public_test_dep! {
/// Trait for some basic operations on floats
#[allow(dead_code)]
pub(crate) trait Float:
Copy
+ core::fmt::Debug
Expand Down
1 change: 1 addition & 0 deletions src/int/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub use self::leading_zeros::__clzsi2;

public_test_dep! {
/// Trait for some basic operations on integers
#[allow(dead_code)]
pub(crate) trait Int:
Copy
+ core::fmt::Debug
Expand Down

0 comments on commit 58a00d4

Please sign in to comment.