diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-11-29 18:37:33 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-11-29 22:07:49 -0800 |
| commit | 3ed9fbd63c6a3c6226bc466786e6d3c1bfec856d (patch) | |
| tree | 3552c8b37426ce0763648cb056f37f03a7b777ed /src/libstd/smallintmap.rs | |
| parent | 78ee821154ba6034a86397d8540fec00c94e9282 (diff) | |
| download | rust-3ed9fbd63c6a3c6226bc466786e6d3c1bfec856d.tar.gz rust-3ed9fbd63c6a3c6226bc466786e6d3c1bfec856d.zip | |
impls of traits cannot define methods on the anonymous trait
Diffstat (limited to 'src/libstd/smallintmap.rs')
| -rw-r--r-- | src/libstd/smallintmap.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<V: Copy> SmallIntMap<V>: map::Map<uint, V> { } pure fn get(key: uint) -> V { get(self, key) } pure fn find(key: uint) -> Option<V> { 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) { |
