diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-13 17:35:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-13 17:35:37 +0200 |
| commit | e95f2db98f347043e5ba7a3c2c8f7cc58248dae9 (patch) | |
| tree | 10fb4f58ed1734a756c60ee24af045c4a7864627 | |
| parent | e8050c0b0aa11912fad6a37aefffa45c4f1bfacb (diff) | |
| parent | c008d45187924704d08533ef148f50b4a39dfb88 (diff) | |
| download | rust-e95f2db98f347043e5ba7a3c2c8f7cc58248dae9.tar.gz rust-e95f2db98f347043e5ba7a3c2c8f7cc58248dae9.zip | |
Rollup merge of #96006 - hkBst:patch-2, r=Dylan-DPC
Add a missing article Add a missing article
| -rw-r--r-- | library/core/src/convert/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index 52c08784715..b30c8a4aeab 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -112,7 +112,7 @@ pub const fn identity<T>(x: T) -> T { /// /// - Unlike `AsRef`, [`Borrow`] has a blanket impl for any `T`, and can be used to accept either /// a reference or a value. -/// - [`Borrow`] also requires that [`Hash`], [`Eq`] and [`Ord`] for borrowed value are +/// - [`Borrow`] also requires that [`Hash`], [`Eq`] and [`Ord`] for a borrowed value are /// equivalent to those of the owned value. For this reason, if you want to /// borrow only a single field of a struct you can implement `AsRef`, but not [`Borrow`]. /// |
