From a92594dfacd6d6323f920a9d64557174db813904 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Thu, 13 Sep 2018 21:21:53 -0400 Subject: [PATCH] Entry is an enum not a struct --- src/libstd/collections/hash/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index 8c44245d1f4..8b5957abe59 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -1860,7 +1860,7 @@ pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> { /// This `enum` is constructed from the [`raw_entry`] method on [`HashMap`]. /// /// [`HashMap`]: struct.HashMap.html -/// [`Entry`]: struct.Entry.html +/// [`Entry`]: enum.Entry.html /// [`raw_entry`]: struct.HashMap.html#method.raw_entry #[unstable(feature = "hash_raw_entry", issue = "54043")] pub enum RawEntryMut<'a, K: 'a, V: 'a, S: 'a> {