about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-13 17:35:35 +0200
committerGitHub <noreply@github.com>2022-04-13 17:35:35 +0200
commite8050c0b0aa11912fad6a37aefffa45c4f1bfacb (patch)
treed0c7007a15a0527409e240eb8abd7e79dd5317d6
parent648d65ac7b9c8309620dc86ee60cebafe2a811e2 (diff)
parent212e98bc3eb83d89088ffdb5c63bcbeaaf4742ed (diff)
downloadrust-e8050c0b0aa11912fad6a37aefffa45c4f1bfacb.tar.gz
rust-e8050c0b0aa11912fad6a37aefffa45c4f1bfacb.zip
Rollup merge of #96005 - hkBst:patch-1, r=Dylan-DPC
Add missing article to fix "few" to "a few".

Add missing article to fix "few" (not many) to "a few" (some).
-rw-r--r--library/core/src/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs
index c7a9a818378..52c08784715 100644
--- a/library/core/src/convert/mod.rs
+++ b/library/core/src/convert/mod.rs
@@ -108,7 +108,7 @@ pub const fn identity<T>(x: T) -> T {
 /// If you need to do a costly conversion it is better to implement [`From`] with type
 /// `&T` or write a custom function.
 ///
-/// `AsRef` has the same signature as [`Borrow`], but [`Borrow`] is different in few aspects:
+/// `AsRef` has the same signature as [`Borrow`], but [`Borrow`] is different in a few aspects:
 ///
 /// - Unlike `AsRef`, [`Borrow`] has a blanket impl for any `T`, and can be used to accept either
 ///   a reference or a value.