about summary refs log tree commit diff
path: root/src/libcore/trie.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/trie.rs')
-rw-r--r--src/libcore/trie.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/trie.rs b/src/libcore/trie.rs
index 653e29b62a5..40ef5fee47a 100644
--- a/src/libcore/trie.rs
+++ b/src/libcore/trie.rs
@@ -13,9 +13,9 @@
 use prelude::*;
 
 // FIXME: #5244: need to manually update the TrieNode constructor
-const SHIFT: uint = 4;
-const SIZE: uint = 1 << SHIFT;
-const MASK: uint = SIZE - 1;
+static SHIFT: uint = 4;
+static SIZE: uint = 1 << SHIFT;
+static MASK: uint = SIZE - 1;
 
 enum Child<T> {
     Internal(~TrieNode<T>),