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 3b9d3ad4b73..7afe7e0d3d4 100644
--- a/src/libcore/trie.rs
+++ b/src/libcore/trie.rs
@@ -139,7 +139,7 @@ impl<T> Map<uint, T> for TrieMap<T> {
 pub impl<T> TrieMap<T> {
     /// Create an empty TrieMap
     #[inline(always)]
-    static pure fn new() -> TrieMap<T> {
+    pure fn new() -> TrieMap<T> {
         TrieMap{root: TrieNode::new(), length: 0}
     }
 
@@ -192,7 +192,7 @@ impl Mutable for TrieSet {
 impl TrieSet {
     /// Create an empty TrieSet
     #[inline(always)]
-    static pure fn new() -> TrieSet {
+    pure fn new() -> TrieSet {
         TrieSet{map: TrieMap::new()}
     }
 
@@ -220,7 +220,7 @@ struct TrieNode<T> {
 
 impl<T> TrieNode<T> {
     #[inline(always)]
-    static pure fn new() -> TrieNode<T> {
+    pure fn new() -> TrieNode<T> {
         // FIXME: #5244: [Nothing, ..SIZE] should be possible without Copy
         TrieNode{count: 0,
                  children: [Nothing, Nothing, Nothing, Nothing,