about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:14:12 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:14:12 -0700
commite44393a953a4654aa14d37df588cf490e1120240 (patch)
tree8b31a1a18eb94446c96afe510ac0d8bcb3bb3d8d /src/libcore
parent55754ed893ae7c07e813bd64b3c272d3d741d1e0 (diff)
parentf8a180b36ed4d048dbbb88037c3f35afab6b64ff (diff)
downloadrust-e44393a953a4654aa14d37df588cf490e1120240.tar.gz
rust-e44393a953a4654aa14d37df588cf490e1120240.zip
rollup merge of #17582 : kmcallister/gc-box
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/raw.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs
index 188ef2a3b88..86b96ff15f1 100644
--- a/src/libcore/raw.rs
+++ b/src/libcore/raw.rs
@@ -20,12 +20,12 @@
 
 use mem;
 
-/// The representation of a Rust managed box
-pub struct Box<T> {
+/// The representation of `std::gc::Gc`.
+pub struct GcBox<T> {
     pub ref_count: uint,
     pub drop_glue: fn(ptr: *mut u8),
-    pub prev: *mut Box<T>,
-    pub next: *mut Box<T>,
+    pub prev: *mut GcBox<T>,
+    pub next: *mut GcBox<T>,
     pub data: T,
 }