feat(conversions): add hint comments

This commit is contained in:
mokou
2022-07-15 12:34:10 +02:00
parent 8cfedb1673
commit 74f44f55e3
4 changed files with 10 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
// The From trait is used for value-to-value conversions.
// If From is implemented correctly for a type, the Into trait should work conversely.
// You can read more about it at https://doc.rust-lang.org/std/convert/trait.From.html
// Execute `rustlings hint from_into` or use the `hint` watch subcommand for a hint.
#[derive(Debug)]
struct Person {
name: String,