We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d66de commit abb3d3eCopy full SHA for abb3d3e
src/libcollections/trie.rs
@@ -34,10 +34,10 @@ use slice::{Items, MutItems};
34
use slice;
35
36
// FIXME: #5244: need to manually update the TrieNode constructor
37
-static SHIFT: uint = 4;
38
-static SIZE: uint = 1 << SHIFT;
39
-static MASK: uint = SIZE - 1;
40
-static NUM_CHUNKS: uint = uint::BITS / SHIFT;
+const SHIFT: uint = 4;
+const SIZE: uint = 1 << SHIFT;
+const MASK: uint = SIZE - 1;
+const NUM_CHUNKS: uint = uint::BITS / SHIFT;
41
42
#[deriving(Clone)]
43
enum Child<T> {
0 commit comments