@@ -56,8 +56,12 @@ use self::Entry::*;
56
56
/// however, performance is excellent.
57
57
///
58
58
/// It is a logic error for a key to be modified in such a way that the key's ordering relative to
59
- /// any other key, as determined by the `Ord` trait, changes while it is in the map. This is
60
- /// normally only possible through `Cell`, `RefCell`, global state, I/O, or unsafe code.
59
+ /// any other key, as determined by the [`Ord`] trait, changes while it is in the map. This is
60
+ /// normally only possible through [`Cell`], [`RefCell`], global state, I/O, or unsafe code.
61
+ ///
62
+ /// [`Ord`]: ../../std/cmp/trait.Ord.html
63
+ /// [`Cell`]: ../../std/cell/struct.Cell.html
64
+ /// [`RefCell`]: ../../std/cell/struct.RefCell.html
61
65
///
62
66
/// # Examples
63
67
///
@@ -2020,7 +2024,7 @@ impl<'a, K: Ord, V> VacantEntry<'a, K, V> {
2020
2024
self . key
2021
2025
}
2022
2026
2023
- /// Sets the value of the entry with the VacantEntry's key,
2027
+ /// Sets the value of the entry with the ` VacantEntry` 's key,
2024
2028
/// and returns a mutable reference to it.
2025
2029
///
2026
2030
/// # Examples
@@ -2192,7 +2196,7 @@ impl<'a, K: Ord, V> OccupiedEntry<'a, K, V> {
2192
2196
self . handle . into_kv_mut ( ) . 1
2193
2197
}
2194
2198
2195
- /// Sets the value of the entry with the OccupiedEntry's key,
2199
+ /// Sets the value of the entry with the ` OccupiedEntry` 's key,
2196
2200
/// and returns the entry's old value.
2197
2201
///
2198
2202
/// # Examples
0 commit comments