From 5310bd87ae35c02055888f3d15ecf704fb8f0921 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 26 May 2018 10:16:53 -0700 Subject: [PATCH] Remove unneeded core import This was previously used by the unstable nonzero impls. #[cfg(feature = "unstable")] use core::num::{NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize}; --- serde/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 4cf0d735..5d814a62 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -130,9 +130,6 @@ #[cfg(feature = "alloc")] extern crate alloc; -#[cfg(all(feature = "unstable", feature = "std"))] -extern crate core; - /// A facade around all the types we need from the `std`, `core`, and `alloc` /// crates. This avoids elaborate import wrangling having to happen in every /// module.