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

@@ -3,6 +3,8 @@
// Basically, this is the same as From. The main difference is that this should return a Result type
// instead of the target type itself.
// You can read more about it at https://doc.rust-lang.org/std/convert/trait.TryFrom.html
// Execute `rustlings hint from_str` or use the `hint` watch subcommand for a hint.
use std::convert::{TryFrom, TryInto};
#[derive(Debug, PartialEq)]