about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2015-02-04 18:00:12 -0500
committerJorge Aparicio <japaricious@gmail.com>2015-02-06 21:11:59 -0500
commit724bf7bce2b35ac5731cf7e217c0e87916517b69 (patch)
tree5de2c72a8efe2fe4a186393a8fea54c94ddb908f /src/libstd
parentd3732a12e896ab98aa27eaffab99a78bbaf837e4 (diff)
downloadrust-724bf7bce2b35ac5731cf7e217c0e87916517b69.tar.gz
rust-724bf7bce2b35ac5731cf7e217c0e87916517b69.zip
make `IndexMut` a super trait over `Index`
closes #21630
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/map.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index aec9446773f..710f021d912 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -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")