mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-30 23:39:19 +00:00
Move errors7 after traits1
This commit is contained in:
parent
213a32b378
commit
72fbb10e2c
@ -721,13 +721,6 @@ can then use the `?` operator to return early.
|
|||||||
Read more about `map_err()` in the `std::result` documentation:
|
Read more about `map_err()` in the `std::result` documentation:
|
||||||
https://doc.rust-lang.org/std/result/enum.Result.html#method.map_err"""
|
https://doc.rust-lang.org/std/result/enum.Result.html#method.map_err"""
|
||||||
|
|
||||||
[[exercises]]
|
|
||||||
name = "errors7"
|
|
||||||
dir = "13_error_handling"
|
|
||||||
hint = """
|
|
||||||
TODO Add hint and place after traits exercise
|
|
||||||
"""
|
|
||||||
|
|
||||||
# Generics
|
# Generics
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
@ -763,6 +756,13 @@ https://doc.rust-lang.org/book/ch10-02-traits.html
|
|||||||
|
|
||||||
The `+` operator can concatenate a `String` with a `&str`."""
|
The `+` operator can concatenate a `String` with a `&str`."""
|
||||||
|
|
||||||
|
[[exercises]]
|
||||||
|
name = "errors7"
|
||||||
|
dir = "13_error_handling"
|
||||||
|
hint = """
|
||||||
|
More about relatio between try operator and From Trait:
|
||||||
|
https://doc.rust-lang.org/std/convert/trait.From.html#examples"""
|
||||||
|
|
||||||
[[exercises]]
|
[[exercises]]
|
||||||
name = "traits2"
|
name = "traits2"
|
||||||
dir = "15_traits"
|
dir = "15_traits"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user