change some statics to constants

This commit is contained in:
Oliver 'ker' Schneider
2015-06-07 19:50:13 +02:00
parent 2c8d75d655
commit ec078a033b
13 changed files with 18 additions and 22 deletions

View File

@@ -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.
///