about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2014-09-26 19:54:27 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2014-09-26 19:54:27 -0700
commitf8a180b36ed4d048dbbb88037c3f35afab6b64ff (patch)
treed0434f4c9a9a93dcf251781adf634901b8198b60 /src/libcore
parent5d653c17a656e8fe1572c7a695e33b188eda0597 (diff)
downloadrust-f8a180b36ed4d048dbbb88037c3f35afab6b64ff.tar.gz
rust-f8a180b36ed4d048dbbb88037c3f35afab6b64ff.zip
Rename raw::Box to raw::GcBox
Fixes #17470.
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,
 }