about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-10-05 00:56:29 -0700
committerGitHub <noreply@github.com>2023-10-05 00:56:29 -0700
commitea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8 (patch)
tree7e18557b3c4ab0b235629844dbc21d4cb61be7f9 /library/alloc
parent5236c8e1fa25c45f11f02ae72fc27f64d86ba606 (diff)
parentf44d116e1f9a513b8730c1629bf17592bcd9784a (diff)
downloadrust-ea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8.tar.gz
rust-ea3454eabb6ac1ac4c0fb1326e72b4f19505b0b8.zip
Rollup merge of #116223 - catandcoder:master, r=cjgillot
Fix misuses of a vs an

Fixes the misuse of "a" vs "an", according to English grammatical
expectations and using https://www.a-or-an.com/
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/collections/btree/dedup_sorted_iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/btree/dedup_sorted_iter.rs b/library/alloc/src/collections/btree/dedup_sorted_iter.rs
index 17ee78045a9..cd6a88f3291 100644
--- a/library/alloc/src/collections/btree/dedup_sorted_iter.rs
+++ b/library/alloc/src/collections/btree/dedup_sorted_iter.rs
@@ -1,6 +1,6 @@
 use core::iter::Peekable;
 
-/// A iterator for deduping the key of a sorted iterator.
+/// An iterator for deduping the key of a sorted iterator.
 /// When encountering the duplicated key, only the last key-value pair is yielded.
 ///
 /// Used by [`BTreeMap::bulk_build_from_sorted_iter`][1].