Fix a slightly erroneous comment.

This commit is contained in:
Chris Morgan 2014-12-17 13:44:25 +11:00
parent e57ba9e628
commit 83434cc057

View file

@ -209,12 +209,12 @@ impl AnyMap {
}
}
/// A view into a single occupied location in a HashMap
/// A view into a single occupied location in an AnyMap
pub struct OccupiedEntry<'a, V: 'a> {
entry: hash_map::OccupiedEntry<'a, TypeId, Box<Any + 'static>>,
}
/// A view into a single empty location in a HashMap
/// A view into a single empty location in an AnyMap
pub struct VacantEntry<'a, V: 'a> {
entry: hash_map::VacantEntry<'a, TypeId, Box<Any + 'static>>,
}