diff --git a/src/libcore/trie.rs b/src/libcore/trie.rs index 6b2f2bb6a7d..3b9d3ad4b73 100644 --- a/src/libcore/trie.rs +++ b/src/libcore/trie.rs @@ -136,15 +136,13 @@ impl Map for TrieMap { } } -impl TrieMap { +pub impl TrieMap { /// Create an empty TrieMap #[inline(always)] static pure fn new() -> TrieMap { TrieMap{root: TrieNode::new(), length: 0} } -} -impl TrieMap { /// Visit all keys in reverse order #[inline(always)] pure fn each_key_reverse(&self, f: &fn(&uint) -> bool) {