From 5d4063083bc366d1423572855f6320bb964d2a22 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 21 Mar 2013 17:49:55 -0400 Subject: [PATCH] trie: make impl pub --- src/libcore/trie.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {