diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-05-25 20:21:29 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2015-05-27 11:19:02 +0300 |
| commit | 6e8e4f847c2ea02fec021ea15dfb2de6beac797a (patch) | |
| tree | 7831f2de833ae0151217710dc87b2ba03a3bc128 /src/libcore/nonzero.rs | |
| parent | 07503dfb8bd60e2047a0a5083dd5377f9f14b77d (diff) | |
| download | rust-6e8e4f847c2ea02fec021ea15dfb2de6beac797a.tar.gz rust-6e8e4f847c2ea02fec021ea15dfb2de6beac797a.zip | |
Remove #[cfg(stage0)] items.
Diffstat (limited to 'src/libcore/nonzero.rs')
| -rw-r--r-- | src/libcore/nonzero.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcore/nonzero.rs b/src/libcore/nonzero.rs index 59819fd500d..32522794254 100644 --- a/src/libcore/nonzero.rs +++ b/src/libcore/nonzero.rs @@ -11,9 +11,7 @@ //! Exposes the NonZero lang item which provides optimization hints. use marker::Sized; -use ops::Deref; -#[cfg(not(stage0))] -use ops::CoerceUnsized; +use ops::{CoerceUnsized, Deref}; /// Unsafe trait to indicate what types are usable with the NonZero struct pub unsafe trait Zeroable {} @@ -57,5 +55,4 @@ impl<T: Zeroable> Deref for NonZero<T> { } } -#[cfg(not(stage0))] impl<T: Zeroable+CoerceUnsized<U>, U: Zeroable> CoerceUnsized<NonZero<U>> for NonZero<T> {} |
