mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
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).
This commit is contained in:
commit
e8050c0b0a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user