From 83434cc0574800e90a8e7925ac7d29dc4ddbeec2 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 17 Dec 2014 13:44:25 +1100 Subject: [PATCH] Fix a slightly erroneous comment. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5aea4bf..3d47f0d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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>, } -/// 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>, }