@@ -1149,7 +1149,7 @@ impl<K, V, S> IndexMap<K, V, S> {
11491149
11501150/// Get a key-value pair by index
11511151///
1152- /// Valid indices are* 0 <= index < self.len()*
1152+ /// Valid indices are` 0 <= index < self.len()`.
11531153///
11541154/// Computes in **O(1)** time.
11551155pub fn get_index ( & self , index : usize ) ->Option < ( & K , & V ) > {
@@ -1158,7 +1158,7 @@ impl<K, V, S> IndexMap<K, V, S> {
11581158
11591159/// Get a key-value pair by index
11601160///
1161- /// Valid indices are* 0 <= index < self.len()*
1161+ /// Valid indices are` 0 <= index < self.len()`.
11621162///
11631163/// Computes in **O(1)** time.
11641164pub fn get_index_mut ( & mut self , index : usize ) ->Option < ( & K , & mut V ) > {
@@ -1167,7 +1167,7 @@ impl<K, V, S> IndexMap<K, V, S> {
11671167
11681168/// Get an entry in the map by index for in-place manipulation.
11691169///
1170- /// Valid indices are* 0 <= index < self.len()*
1170+ /// Valid indices are` 0 <= index < self.len()`.
11711171///
11721172/// Computes in **O(1)** time.
11731173pub fn get_index_entry ( & mut self , index : usize ) ->Option < IndexedEntry < ' _ , K , V > > {
@@ -1179,7 +1179,7 @@ impl<K, V, S> IndexMap<K, V, S> {
11791179
11801180/// Returns a slice of key-value pairs in the given range of indices.
11811181///
1182- /// Valid indices are* 0 <= index < self.len()*
1182+ /// Valid indices are` 0 <= index < self.len()`.
11831183///
11841184/// Computes in **O(1)** time.
11851185pub fn get_range < R : RangeBounds < usize > > ( & self , range : R ) ->Option < & Slice < K , V > > {
@@ -1190,7 +1190,7 @@ impl<K, V, S> IndexMap<K, V, S> {
11901190
11911191/// Returns a mutable slice of key-value pairs in the given range of indices.
11921192///
1193- /// Valid indices are* 0 <= index < self.len()*
1193+ /// Valid indices are` 0 <= index < self.len()`.
11941194///
11951195/// Computes in **O(1)** time.
11961196pub fn get_range_mut < R : RangeBounds < usize > > ( & mut self , range : R ) ->Option < & mut Slice < K , V > > {
@@ -1245,7 +1245,7 @@ impl<K, V, S> IndexMap<K, V, S> {
12451245
12461246/// Remove the key-value pair by index
12471247///
1248- /// Valid indices are* 0 <= index < self.len()*
1248+ /// Valid indices are` 0 <= index < self.len()`.
12491249///
12501250/// Like [`Vec::swap_remove`], the pair is removed by swapping it with the
12511251/// last element of the map and popping it off. **This perturbs
@@ -1258,7 +1258,7 @@ impl<K, V, S> IndexMap<K, V, S> {
12581258
12591259/// Remove the key-value pair by index
12601260///
1261- /// Valid indices are* 0 <= index < self.len()*
1261+ /// Valid indices are` 0 <= index < self.len()`.
12621262///
12631263/// Like [`Vec::remove`], the pair is removed by shifting all of the
12641264/// elements that follow it, preserving their relative order.