]> git.lizzy.rs Git - rust.git/commitdiff
Fix links in docs
authorJonathan Behrens <fintelia@gmail.com>
Thu, 13 Sep 2018 23:05:41 +0000 (19:05 -0400)
committerJonathan Behrens <fintelia@gmail.com>
Thu, 13 Sep 2018 23:05:41 +0000 (19:05 -0400)
src/libstd/collections/hash/map.rs

index 62e5cdcf90e8bd599c10849b876ee26ad488d552..8c44245d1f4d1dfed93631cb247268b77231e3d4 100644 (file)
@@ -1844,7 +1844,10 @@ fn into_entry(self, key: K) -> Option<Entry<'a, K, V>> {
 
 /// A builder for computing where in a HashMap a key-value pair would be stored.
 ///
-/// See the [`HashMap::raw_entry_mut`][] docs for usage examples.
+/// See the [`HashMap::raw_entry_mut`] docs for usage examples.
+///
+/// [`HashMap::raw_entry_mut`]: struct.HashMap.html#method.raw_entry_mut
+
 #[unstable(feature = "hash_raw_entry", issue = "54043")]
 pub struct RawEntryBuilderMut<'a, K: 'a, V: 'a, S: 'a> {
     map: &'a mut HashMap<K, V, S>,
@@ -1888,7 +1891,9 @@ pub struct RawVacantEntryMut<'a, K: 'a, V: 'a, S: 'a> {
 
 /// A builder for computing where in a HashMap a key-value pair would be stored.
 ///
-/// See the [`HashMap::raw_entry`][] docs for usage examples.
+/// See the [`HashMap::raw_entry`] docs for usage examples.
+///
+/// [`HashMap::raw_entry`]: struct.HashMap.html#method.raw_entry
 #[unstable(feature = "hash_raw_entry", issue = "54043")]
 pub struct RawEntryBuilder<'a, K: 'a, V: 'a, S: 'a> {
     map: &'a HashMap<K, V, S>,