about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorOliver 'ker' Schneider <rust19446194516@oli-obk.de>2015-06-07 19:50:13 +0200
committerOliver 'ker' Schneider <rust19446194516@oli-obk.de>2015-06-07 19:50:13 +0200
commitec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a (patch)
tree1ec3554c23443ccc25e44eb90efa4f176fe33df9 /src/liballoc
parent2c8d75d655b7d0bf84178f464c47a79569a35f3c (diff)
downloadrust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.tar.gz
rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.zip
change some statics to constants
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
1 files changed, 1 insertions, 1 deletions
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.
 ///