We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3c43e6 commit c008d45Copy full SHA for c008d45
library/core/src/convert/mod.rs
@@ -112,7 +112,7 @@ pub const fn identity<T>(x: T) -> T {
112
///
113
/// - Unlike `AsRef`, [`Borrow`] has a blanket impl for any `T`, and can be used to accept either
114
/// a reference or a value.
115
-/// - [`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
116
/// equivalent to those of the owned value. For this reason, if you want to
117
/// borrow only a single field of a struct you can implement `AsRef`, but not [`Borrow`].
118
0 commit comments