From f8a180b36ed4d048dbbb88037c3f35afab6b64ff Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Fri, 26 Sep 2014 19:54:27 -0700 Subject: Rename raw::Box to raw::GcBox Fixes #17470. --- src/libcore/raw.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcore') 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 { +/// The representation of `std::gc::Gc`. +pub struct GcBox { pub ref_count: uint, pub drop_glue: fn(ptr: *mut u8), - pub prev: *mut Box, - pub next: *mut Box, + pub prev: *mut GcBox, + pub next: *mut GcBox, pub data: T, } -- cgit 1.4.1-3-g733a5