diff options
Diffstat (limited to 'src/libsyntax/util/interner.rs')
| -rw-r--r-- | src/libsyntax/util/interner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/interner.rs b/src/libsyntax/util/interner.rs index 0677e25a3fe..657e6ee59fa 100644 --- a/src/libsyntax/util/interner.rs +++ b/src/libsyntax/util/interner.rs @@ -42,7 +42,7 @@ pub trait Interner<T:Eq IterBytes Hash Const Copy> { fn len() -> uint; } -pub impl <T:Eq IterBytes Hash Const Copy> hash_interner<T>: Interner<T> { +pub impl<T:Eq IterBytes Hash Const Copy> Interner<T> for hash_interner<T> { fn intern(val: T) -> uint { match self.map.find(&val) { Some(idx) => return idx, |
