mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-17 03:21:02 +00:00
Remove unneeded core import
This was previously used by the unstable nonzero impls.
#[cfg(feature = "unstable")]
use core::num::{NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8, NonZeroUsize};
This commit is contained in:
@@ -130,9 +130,6 @@
|
|||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
extern crate 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`
|
/// 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
|
/// crates. This avoids elaborate import wrangling having to happen in every
|
||||||
/// module.
|
/// module.
|
||||||
|
|||||||
Reference in New Issue
Block a user