Skip to content

Commit 382f1bc

Browse files
committed
core: remove raw::GcBox.
1 parent 84a4a07 commit 382f1bc

File tree

3 files changed

+0
-40
lines changed

3 files changed

+0
-40
lines changed

src/liballoc/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ pub use boxed as owned;
9292

9393
pub mod heap;
9494
pub mod libc_heap;
95-
pub mod util;
9695

9796
// Primitive types using the heaps above
9897

src/liballoc/util.rs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/libcore/raw.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@
2020
2121
use mem;
2222

23-
/// The representation of `std::gc::Gc`.
24-
pub struct GcBox<T> {
25-
pub ref_count: uint,
26-
pub drop_glue: fn(ptr: *mut u8),
27-
pub prev: *mut GcBox<T>,
28-
pub next: *mut GcBox<T>,
29-
pub data: T,
30-
}
31-
3223
/// The representation of a Rust slice
3324
pub struct Slice<T> {
3425
pub data: *const T,

0 commit comments

Comments
 (0)