diff options
Diffstat (limited to 'src/libcore/nonzero.rs')
| -rw-r--r-- | src/libcore/nonzero.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/nonzero.rs b/src/libcore/nonzero.rs index 85957382826..59819fd500d 100644 --- a/src/libcore/nonzero.rs +++ b/src/libcore/nonzero.rs @@ -12,7 +12,7 @@ use marker::Sized; use ops::Deref; -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] use ops::CoerceUnsized; /// Unsafe trait to indicate what types are usable with the NonZero struct @@ -57,5 +57,5 @@ impl<T: Zeroable> Deref for NonZero<T> { } } -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] impl<T: Zeroable+CoerceUnsized<U>, U: Zeroable> CoerceUnsized<NonZero<U>> for NonZero<T> {} |
