From b799cd83cc797b580be2d1492e6ae014848636ee Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Wed, 13 May 2015 15:05:02 +1200 Subject: Remove SNAP comments --- src/liballoc/boxed.rs | 6 +++--- src/liballoc/rc.rs | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 757c799d85c..35732dacd44 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -62,9 +62,9 @@ use core::ops::{Deref, DerefMut}; use core::ptr::{Unique}; use core::raw::{TraitObject}; -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] use core::marker::Unsize; -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] use core::ops::CoerceUnsized; /// A value that represents the heap. This is the default place that the `box` @@ -396,5 +396,5 @@ impl<'a,A,R> FnOnce for Box+Send+'a> { } } -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] impl, U: ?Sized> CoerceUnsized> for Box {} diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 15d6e6fa960..f2b83fdeefa 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -228,7 +228,7 @@ impl !marker::Sync for Rc {} #[cfg(not(stage0))] impl !marker::Sync for Rc {} -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] impl, U: ?Sized> CoerceUnsized> for Rc {} impl Rc { @@ -459,7 +459,7 @@ impl Deref for Rc { } } -#[cfg(stage0)] // SNAP c64d671 +#[cfg(stage0)] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Rc { /// Drops the `Rc`. @@ -510,7 +510,7 @@ impl Drop for Rc { } } -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Rc { /// Drops the `Rc`. @@ -930,7 +930,7 @@ impl Weak { } } -#[cfg(stage0)] // SNAP c64d671 +#[cfg(stage0)] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Weak { /// Drops the `Weak`. @@ -975,7 +975,7 @@ impl Drop for Weak { } } -#[cfg(not(stage0))] // SNAP c64d671 +#[cfg(not(stage0))] #[stable(feature = "rust1", since = "1.0.0")] impl Drop for Weak { /// Drops the `Weak`. -- cgit 1.4.1-3-g733a5