Fix doc links

This commit is contained in:
Gwilym Inzani 2023-05-16 20:44:07 +01:00
parent 362bfc1430
commit d9803fb873

View file

@ -601,7 +601,7 @@ mod entries {
use super::{ClonableAllocator, HashMap};
/// A view into an occupied entry in a `HashMap`. This is part of the [`Entry`] enum.
/// A view into an occupied entry in a `HashMap`. This is part of the [`crate::Entry`] enum.
pub struct OccupiedEntry<'a, K: 'a, V: 'a, ALLOCATOR: Allocator> {
key: K,
map: &'a mut HashMap<K, V, ALLOCATOR>,
@ -691,7 +691,7 @@ mod entries {
}
}
/// A view into a vacant entry in a `HashMap`. It is part of the [`Entry`] enum.
/// A view into a vacant entry in a `HashMap`. It is part of the [`crate::Entry`] enum.
pub struct VacantEntry<'a, K: 'a, V: 'a, ALLOCATOR: Allocator> {
key: K,
map: &'a mut HashMap<K, V, ALLOCATOR>,