mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-08-15 23:06:56 +00:00
Preserve conversions3 wording
This commit is contained in:
parent
dcc724888f
commit
11ce37fc93
@ -1,7 +1,7 @@
|
|||||||
// In this exercise, we'll implement `FromStr` and return errors instead of
|
// In this exercise, we'll implement `FromStr` and return errors instead of
|
||||||
// falling back to a default value. Upon implementing `FromStr`, you can use the
|
// falling back to a default value. Additionally, upon implementing `FromStr`,
|
||||||
// `parse` method on strings to generate an object of the implementor type.
|
// you can use the `parse` method on strings to generate an object of the
|
||||||
// You can read more about it in the documentation:
|
// implementor type. You can read more about it in the documentation:
|
||||||
// https://doc.rust-lang.org/std/str/trait.FromStr.html
|
// https://doc.rust-lang.org/std/str/trait.FromStr.html
|
||||||
|
|
||||||
use std::num::ParseIntError;
|
use std::num::ParseIntError;
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// In this exercise, we'll implement `FromStr` and return errors instead of
|
// In this exercise, we'll implement `FromStr` and return errors instead of
|
||||||
// falling back to a default value. Upon implementing `FromStr`, you can use the
|
// falling back to a default value. Additionally, upon implementing `FromStr`,
|
||||||
// `parse` method on strings to generate an object of the implementor type.
|
// you can use the `parse` method on strings to generate an object of the
|
||||||
// You can read more about it in the documentation:
|
// implementor type. You can read more about it in the documentation:
|
||||||
// https://doc.rust-lang.org/std/str/trait.FromStr.html
|
// https://doc.rust-lang.org/std/str/trait.FromStr.html
|
||||||
|
|
||||||
use std::num::ParseIntError;
|
use std::num::ParseIntError;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user