mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
Fix stale exercise references
This commit is contained in:
@@ -1186,9 +1186,6 @@ hint = """
|
||||
The implementation of `FromStr` should return an `Ok` with a `Person` object,
|
||||
or an `Err` with an error if the string is not valid.
|
||||
|
||||
This is almost like the previous `from_into` exercise, but returning errors
|
||||
instead of falling back to a default value.
|
||||
|
||||
Another hint: You can use the `map_err` method of `Result` with a function or a
|
||||
closure to wrap the error from `parse::<u8>`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user