diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/raw.rs | 8 |
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, } |
