diff options
| author | Josh Stone <jistone@redhat.com> | 2019-05-16 18:15:09 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-05-16 18:15:09 -0700 |
| commit | 4d61fb1ba4dad2ffcf06bdabf95e532f267e9c8c (patch) | |
| tree | 5d3e0a2e6799b292f2c7e11234504fdb3a98fad7 /src/libstd | |
| parent | 4f53b5c42baf498b0dd8adbe59aae648a2cf6c14 (diff) | |
| download | rust-4d61fb1ba4dad2ffcf06bdabf95e532f267e9c8c.tar.gz rust-4d61fb1ba4dad2ffcf06bdabf95e532f267e9c8c.zip | |
doc: correct the origin of RawEntryMut
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index f9fb392f9f5..478f63ab3d7 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -1225,11 +1225,13 @@ pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> { /// /// This is a lower-level version of [`Entry`]. /// -/// This `enum` is constructed from the [`raw_entry`] method on [`HashMap`]. +/// This `enum` is constructed through the [`raw_entry_mut`] method on [`HashMap`], +/// then calling one of the methods of that [`RawEntryBuilderMut`]. /// /// [`HashMap`]: struct.HashMap.html /// [`Entry`]: enum.Entry.html -/// [`raw_entry`]: struct.HashMap.html#method.raw_entry +/// [`raw_entry_mut`]: struct.HashMap.html#method.raw_entry_mut +/// [`RawEntryBuilderMut`]: struct.RawEntryBuilderMut.html #[unstable(feature = "hash_raw_entry", issue = "56167")] pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> { /// An occupied entry. |
