@@ -56,8 +56,12 @@ use self::Entry::*;
5656/// however, performance is excellent.
5757///
5858/// 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
6165///
6266/// # Examples
6367///
@@ -2020,7 +2024,7 @@ impl<'a, K: Ord, V> VacantEntry<'a, K, V> {
20202024 self . key
20212025 }
20222026
2023- /// Sets the value of the entry with the VacantEntry's key,
2027+ /// Sets the value of the entry with the ` VacantEntry` 's key,
20242028 /// and returns a mutable reference to it.
20252029 ///
20262030 /// # Examples
@@ -2192,7 +2196,7 @@ impl<'a, K: Ord, V> OccupiedEntry<'a, K, V> {
21922196 self . handle . into_kv_mut ( ) . 1
21932197 }
21942198
2195- /// Sets the value of the entry with the OccupiedEntry's key,
2199+ /// Sets the value of the entry with the ` OccupiedEntry` 's key,
21962200 /// and returns the entry's old value.
21972201 ///
21982202 /// # Examples
0 commit comments