diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-09-26 19:54:27 -0700 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2014-09-26 19:54:27 -0700 |
| commit | f8a180b36ed4d048dbbb88037c3f35afab6b64ff (patch) | |
| tree | d0434f4c9a9a93dcf251781adf634901b8198b60 /src/liballoc | |
| parent | 5d653c17a656e8fe1572c7a695e33b188eda0597 (diff) | |
| download | rust-f8a180b36ed4d048dbbb88037c3f35afab6b64ff.tar.gz rust-f8a180b36ed4d048dbbb88037c3f35afab6b64ff.zip | |
Rename raw::Box to raw::GcBox
Fixes #17470.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/util.rs b/src/liballoc/util.rs index 7e35af79eab..d5f0d25fb01 100644 --- a/src/liballoc/util.rs +++ b/src/liballoc/util.rs @@ -16,7 +16,7 @@ use core::raw; #[inline] #[deprecated] pub fn get_box_size(body_size: uint, body_align: uint) -> uint { - let header_size = mem::size_of::<raw::Box<()>>(); + let header_size = mem::size_of::<raw::GcBox<()>>(); let total_size = align_to(header_size, body_align) + body_size; total_size } |
