summaryrefslogtreecommitdiffstats
path: root/library/core/tests/nonzero.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/nonzero.rs')
-rw-r--r--library/core/tests/nonzero.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/tests/nonzero.rs b/library/core/tests/nonzero.rs
index 007f84425..8873d2688 100644
--- a/library/core/tests/nonzero.rs
+++ b/library/core/tests/nonzero.rs
@@ -1,9 +1,8 @@
-use core::convert::TryFrom;
use core::num::{
IntErrorKind, NonZeroI128, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI8, NonZeroIsize,
NonZeroU128, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize,
};
-use core::option::Option::{self, None, Some};
+use core::option::Option::None;
use std::mem::size_of;
#[test]