We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ade426 commit fc21f33Copy full SHA for fc21f33
src/libcore/convert.rs
@@ -177,8 +177,8 @@ pub trait AsRef<T: ?Sized> {
177
///
178
/// Using `AsMut` as trait bound for a generic function we can accept all mutable references
179
/// that can be converted to type `&mut T`. Because [`Box<T>`] implements `AsMut<T>` we can
180
-/// write a function `add_one`that takes all arguments that can be converted to `&mut u64`.
181
-/// Because [`Box<T>`] implements `AsMut<T>` `add_one` accepts arguments of type
+/// write a function `add_one` that takes all arguments that can be converted to `&mut u64`.
+/// Because [`Box<T>`] implements `AsMut<T>`, `add_one` accepts arguments of type
182
/// `&mut Box<u64>` as well:
183
184
/// ```
0 commit comments