about summary refs log tree commit diff
path: root/src/libstd/gc.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-11 18:47:09 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-14 10:28:09 -0700
commitf20b1293fcce4e120bd4a57226e0817271cd672c (patch)
tree1f7f2d9e04093a3473a7057940f715e007128496 /src/libstd/gc.rs
parentd64f18c490981f33f33e9c24e1ed1316e63f11fc (diff)
downloadrust-f20b1293fcce4e120bd4a57226e0817271cd672c.tar.gz
rust-f20b1293fcce4e120bd4a57226e0817271cd672c.zip
Register new snapshots
Diffstat (limited to 'src/libstd/gc.rs')
-rw-r--r--src/libstd/gc.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstd/gc.rs b/src/libstd/gc.rs
index b57920e002c..e889752f4fc 100644
--- a/src/libstd/gc.rs
+++ b/src/libstd/gc.rs
@@ -33,9 +33,6 @@ use raw;
                   task annihilation. For now, cycles need to be broken manually by using `Rc<T>` \
                   with a non-owning `Weak<T>` pointer. A tracing garbage collector is planned."]
 pub struct Gc<T> {
-    #[cfg(stage0)]
-    ptr: @T,
-    #[cfg(not(stage0))]
     _ptr: *T,
     marker: marker::NoSend,
 }
@@ -76,9 +73,6 @@ impl<T: Ord + 'static> Ord for Gc<T> {
 impl<T: Eq + 'static> Eq for Gc<T> {}
 
 impl<T: 'static> Deref<T> for Gc<T> {
-    #[cfg(stage0)]
-    fn deref<'a>(&'a self) -> &'a T { &*self.ptr }
-    #[cfg(not(stage0))]
     fn deref<'a>(&'a self) -> &'a T { &**self }
 }