diff --git a/src/traits/from-into.md b/src/traits/from-into.md index 9b1182ac..c25013c6 100644 --- a/src/traits/from-into.md +++ b/src/traits/from-into.md @@ -23,3 +23,11 @@ fn main() { println!("{s}, {addr}, {one}, {bigger}"); } ``` + +
+ +* That's why it is common to only implement `From`, as your type will get `Into` implementation too. +* When declaring a function argument input type like "anything that can be converted into a `String`", the rule is opposite, you should use `Into`. + Your function will accept types that implement `From` and those that _only_ implement `Into`. + +