Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Replace curly quotes with ascii straight quotes
Browse files Browse the repository at this point in the history
Markdown takes care of rendering these to a curly quote.
  • Loading branch information
dtolnay committed Jan 29, 2024
1 parent 2a77483 commit 9e0b8d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mapping.rs
Expand Up @@ -76,7 +76,7 @@ impl Mapping {
index.index_into_mut(self)
}

/// Gets the given keys 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 {
Expand All @@ -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 entrys 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]
Expand All @@ -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 entrys 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]
Expand Down

0 comments on commit 9e0b8d3

Please sign in to comment.