Skip to content

Commit

Permalink
allow redundant core imports due to core prelude changes in nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Feb 25, 2024
1 parent 1537b82 commit a61e4f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bfloat.rs
Expand Up @@ -1324,6 +1324,7 @@ impl<'de> serde::de::Visitor<'de> for Visitor {
#[cfg(test)]
mod test {
use super::*;
#[allow(unused_imports)]
use core::cmp::Ordering;
#[cfg(feature = "num-traits")]
use num_traits::{AsPrimitive, FromPrimitive, ToPrimitive};
Expand Down
1 change: 1 addition & 0 deletions src/binary16.rs
Expand Up @@ -1340,6 +1340,7 @@ impl<'de> serde::de::Visitor<'de> for Visitor {
#[cfg(test)]
mod test {
use super::*;
#[allow(unused_imports)]
use core::cmp::Ordering;
#[cfg(feature = "num-traits")]
use num_traits::{AsPrimitive, FromPrimitive, ToPrimitive};
Expand Down

0 comments on commit a61e4f2

Please sign in to comment.