Skip to content

Commit 884fdfb

Browse files
committed
Correct some small errors in the docs.
1 parent 5331b9d commit 884fdfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ impl<K: Hash + Eq, V, S: BuildHasher> LinkedHashMap<K, V, S> {
230230
})
231231
}
232232

233-
/// Returns an iterator visiting all entries in order insertion.
233+
/// Returns an iterator visiting all entries in insertion order.
234234
/// Iterator element type is `OccupiedEntry<K, V, S>`. Allows for removal
235235
/// as well as replacing the entry.
236236
///
@@ -1029,7 +1029,7 @@ pub struct OccupiedEntry<'a, K: 'a, V: 'a, S: 'a = hash_map::RandomState> {
10291029
marker: marker::PhantomData<&'a K>,
10301030
}
10311031

1032-
/// A view into a single empty location in a HashMap.
1032+
/// A view into a single empty location in a LinkedHashMap.
10331033
pub struct VacantEntry<'a, K: 'a, V: 'a, S: 'a = hash_map::RandomState> {
10341034
key: K,
10351035
map: &'a mut LinkedHashMap<K, V, S>,

0 commit comments

Comments
 (0)