]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/collections/hash/map.rs
make `IndexMut` a super trait over `Index`
[rust.git] / src / libstd / collections / hash / map.rs
index aec9446773f2ac5e5e46f2d9371cce50b0089beb..710f021d9125e6205e1149d2fe8ccc12da1ff697 100644 (file)
@@ -1267,8 +1267,6 @@ impl<K, V, S, H, Q: ?Sized> IndexMut<Q> for HashMap<K, V, S>
           S: HashState<Hasher=H>,
           H: hash::Hasher<Output=u64>
 {
-    type Output = V;
-
     #[inline]
     fn index_mut<'a>(&'a mut self, index: &Q) -> &'a mut V {
         self.get_mut(index).expect("no entry found for key")