From 3ed9fbd63c6a3c6226bc466786e6d3c1bfec856d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 29 Nov 2012 18:37:33 -0800 Subject: impls of traits cannot define methods on the anonymous trait --- src/libstd/smallintmap.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libstd/smallintmap.rs') diff --git a/src/libstd/smallintmap.rs b/src/libstd/smallintmap.rs index 3f9d308584d..dd773d25687 100644 --- a/src/libstd/smallintmap.rs +++ b/src/libstd/smallintmap.rs @@ -101,7 +101,6 @@ impl SmallIntMap: map::Map { } pure fn get(key: uint) -> V { get(self, key) } pure fn find(key: uint) -> Option { find(self, key) } - fn rehash() { fail } fn update_with_key(key: uint, val: V, ff: fn(uint, V, V) -> V) -> bool { match self.find(key) { -- cgit 1.4.1-3-g733a5