chore(from_str): Fix hint (rust-lang#393)

This commit is contained in:
IkaR49 2020-05-14 20:56:54 +03:00 committed by GitHub
parent 5cb3ef5b8b
commit 5d342da6f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -799,5 +799,6 @@ name = "from_str"
path = "exercises/conversions/from_str.rs"
mode = "test"
hint = """
If you've already solved try_from_into.rs, then this is almost a copy-paste.
Otherwise, go ahead and solve try_from_into.rs first."""
The implementation of FromStr should return an Ok with a Person object,
or an Err with a string if the string is not valid.
This is a some like an `try_from_into` exercise."""