diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-09-14 20:27:36 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-09-16 14:37:48 -0700 |
| commit | fc525eeb4ec3443d29bce677f589b19f31c189bb (patch) | |
| tree | d807bad5c91171751157a945dde963dcfd4ea95e /src/libarena | |
| parent | d8dfe1957b6541de8fe2797e248fe4bd2fac02d9 (diff) | |
| download | rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.tar.gz rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.zip | |
Fallout from renaming
Diffstat (limited to 'src/libarena')
| -rw-r--r-- | src/libarena/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index ee3fd6ad0eb..d691e01a562 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -448,7 +448,7 @@ impl<T> TypedArena<T> { #[inline] pub fn with_capacity(capacity: uint) -> TypedArena<T> { unsafe { - let chunk = TypedArenaChunk::<T>::new(ptr::mut_null(), capacity); + let chunk = TypedArenaChunk::<T>::new(ptr::null_mut(), capacity); TypedArena { ptr: Cell::new((*chunk).start() as *const T), end: Cell::new((*chunk).end() as *const T), |
