We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6cabe commit bac485bCopy full SHA for bac485b
book/src/04_traits/09_from.md
@@ -108,7 +108,7 @@ let title = String::from("A title");
108
109
We've been primarily using `.into()`, though.\
110
If you check out the [implementors of `Into`](https://doc.rust-lang.org/std/convert/trait.Into.html#implementors)
111
-you won't find `Into<&str> for String`. What's going on?
+you won't find `Into<String> for &str`. What's going on?
112
113
`From` and `Into` are **dual traits**.\
114
In particular, `Into` is implemented for any type that implements `From` using a **blanket implementation**:
0 commit comments