We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b486d3d commit 02edc7eCopy full SHA for 02edc7e
src/libcore/convert.rs
@@ -63,9 +63,9 @@
63
///
64
/// The key difference between the two traits is the intention:
65
66
-/// - Use `AsRef` when goal is to simply convert into a reference
67
-/// - Use `Borrow` when goal is related to writing code that is agnostic to the
68
-/// type of borrow and if is reference or value
+/// - Use `AsRef` when the goal is to simply convert into a reference
+/// - Use `Borrow` when the goal is related to writing code that is agnostic to
+/// the type of borrow and whether it is a reference or value
69
70
/// See [the book][book] for a more detailed comparison.
71
0 commit comments