Skip to content

Commit 68fd80f

Browse files
committed
Auto merge of #60899 - cuviper:RawEntryMut-origin-story, r=Centril
doc: correct the origin of RawEntryMut
2 parents c2e49bf + 4d61fb1 commit 68fd80f

File tree

1 file changed

+4
-2
lines changed
  • src/libstd/collections/hash

1 file changed

+4
-2
lines changed

src/libstd/collections/hash/map.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1225,11 +1225,13 @@ pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> {
12251225
///
12261226
/// This is a lower-level version of [`Entry`].
12271227
///
1228-
/// This `enum` is constructed from the [`raw_entry`] method on [`HashMap`].
1228+
/// This `enum` is constructed through the [`raw_entry_mut`] method on [`HashMap`],
1229+
/// then calling one of the methods of that [`RawEntryBuilderMut`].
12291230
///
12301231
/// [`HashMap`]: struct.HashMap.html
12311232
/// [`Entry`]: enum.Entry.html
1232-
/// [`raw_entry`]: struct.HashMap.html#method.raw_entry
1233+
/// [`raw_entry_mut`]: struct.HashMap.html#method.raw_entry_mut
1234+
/// [`RawEntryBuilderMut`]: struct.RawEntryBuilderMut.html
12331235
#[unstable(feature = "hash_raw_entry", issue = "56167")]
12341236
pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {
12351237
/// An occupied entry.

0 commit comments

Comments
 (0)