diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/liballoc/heap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs index 9a439074719..5a0f860ff84 100644 --- a/src/liballoc/heap.rs +++ b/src/liballoc/heap.rs @@ -85,7 +85,7 @@ pub fn stats_print() { /// /// This preserves the non-null invariant for types like `Box<T>`. The address may overlap with /// non-zero-size memory allocations. -pub static EMPTY: *mut () = 0x1 as *mut (); +pub const EMPTY: *mut () = 0x1 as *mut (); /// The allocator for unique pointers. #[cfg(not(test))] |
