Skip to content

Commit

Permalink
Rollup merge of #96006 - hkBst:patch-2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Add a missing article

Add a missing article
  • Loading branch information
Dylan-DPC authored Apr 13, 2022
2 parents 85ac09b + 9513b80 commit 4a71535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/convert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
///
Expand Down

0 comments on commit 4a71535

Please sign in to comment.