diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 14:00:15 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 22:24:35 -0700 |
| commit | 85c9fc6f8f59c146c44aacb4b9abfb2c35e16089 (patch) | |
| tree | 888af920d60f200086d9362c5f8dccd24b928ae9 /src/libcore/trie.rs | |
| parent | eba3367404e9ca6abf84199b5c2dbe51ce6cdbde (diff) | |
| download | rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.tar.gz rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.zip | |
librustc: Remove the `const` declaration form everywhere
Diffstat (limited to 'src/libcore/trie.rs')
| -rw-r--r-- | src/libcore/trie.rs | 6 |
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>), |
