From ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a Mon Sep 17 00:00:00 2001 From: Oliver 'ker' Schneider Date: Sun, 7 Jun 2015 19:50:13 +0200 Subject: change some statics to constants --- src/liballoc/boxed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc') diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 12eadcc145d..4ee500faa22 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -81,7 +81,7 @@ use core::raw::{TraitObject}; #[lang = "exchange_heap"] #[unstable(feature = "alloc", reason = "may be renamed; uncertain about custom allocator design")] -pub static HEAP: () = (); +pub const HEAP: () = (); /// A pointer type for heap allocation. /// -- cgit 1.4.1-3-g733a5