diff options
| author | Oliver 'ker' Schneider <rust19446194516@oli-obk.de> | 2015-06-07 19:50:13 +0200 |
|---|---|---|
| committer | Oliver 'ker' Schneider <rust19446194516@oli-obk.de> | 2015-06-07 19:50:13 +0200 |
| commit | ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a (patch) | |
| tree | 1ec3554c23443ccc25e44eb90efa4f176fe33df9 /src/liballoc/boxed.rs | |
| parent | 2c8d75d655b7d0bf84178f464c47a79569a35f3c (diff) | |
| download | rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.tar.gz rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.zip | |
change some statics to constants
Diffstat (limited to 'src/liballoc/boxed.rs')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
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. /// |
