From 9e0b8d337b1c19fe250454da3bce9fc12b6cd634 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 28 Jan 2024 19:30:26 -0800 Subject: [PATCH] Replace curly quotes with ascii straight quotes Markdown takes care of rendering these to a curly quote. --- src/mapping.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mapping.rs b/src/mapping.rs index b1341a6d..552733d0 100644 --- a/src/mapping.rs +++ b/src/mapping.rs @@ -76,7 +76,7 @@ impl Mapping { index.index_into_mut(self) } - /// Gets the given key’s corresponding entry in the map for insertion and/or + /// Gets the given key's corresponding entry in the map for insertion and/or /// in-place manipulation. #[inline] pub fn entry(&mut self, k: Value) -> Entry { @@ -89,7 +89,7 @@ impl Mapping { /// Removes and returns the value corresponding to the key from the map. /// /// This is equivalent to [`.swap_remove(index)`][Self::swap_remove], - /// replacing this entry’s position with the last element. If you need to + /// replacing this entry's position with the last element. If you need to /// preserve the relative order of the keys in the map, use /// [`.shift_remove(key)`][Self::shift_remove] instead. #[inline] @@ -100,7 +100,7 @@ impl Mapping { /// Remove and return the key-value pair. /// /// This is equivalent to [`.swap_remove_entry(index)`][Self::swap_remove_entry], - /// replacing this entry’s position with the last element. If you need to + /// replacing this entry's position with the last element. If you need to /// preserve the relative order of the keys in the map, use /// [`.shift_remove_entry(key)`][Self::shift_remove_entry] instead. #[inline]