Fix broken link in doc comment

This commit is contained in:
Heikki Linnakangas
2025-07-23 11:37:27 +03:00
parent 464ed0cbc7
commit f7e403eea1
+1 -1
View File
@@ -64,7 +64,7 @@ impl<K, V> OccupiedEntry<'_, '_, K, V> {
///
/// # Panics
/// Panics if the `prev_pos` field is equal to [`PrevPos::Unknown`]. In practice, this means
/// the entry was obtained via calling something like [`CoreHashMap::entry_at_bucket`].
/// the entry was obtained via calling something like [`super::HashMapAccess::entry_at_bucket`].
pub fn remove(mut self) -> V {
// If this bucket was queried by index, go ahead and follow its chain from the start.
let prev = if let PrevPos::Unknown(hash) = self.prev_pos {