We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b948d81 commit 0b04b17Copy full SHA for 0b04b17
src/doc/trpl/borrow-and-asref.md
@@ -47,9 +47,9 @@ This is because the standard library has `impl Borrow<str> for String`.
47
48
For most types, when you want to take an owned or borrowed type, a `&T` is
49
enough. But one area where `Borrow` is effective is when there’s more than one
50
-kind of borrowed value. Slices are an area where this is especially true: you
51
-can have both an `&[T]` or a `&mut [T]`. If we wanted to accept both of these
52
-types, `Borrow` is up for it:
+kind of borrowed value. This is especially true of references and slices: you
+can have both an `&T` or a `&mut T`. If we wanted to accept both of these types,
+`Borrow` is up for it:
53
54
```
55
use std::borrow::Borrow;
0 commit comments