From 72fbb10e2cc84d0e4f2316c35c313d965403ecf3 Mon Sep 17 00:00:00 2001 From: Grzegorz Dziadkiewicz Date: Fri, 10 Jan 2025 10:50:30 +0100 Subject: [PATCH] Move errors7 after traits1 --- rustlings-macros/info.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 6d0764af..f1f2ecef 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -721,13 +721,6 @@ can then use the `?` operator to return early. Read more about `map_err()` in the `std::result` documentation: 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 [[exercises]] @@ -763,6 +756,13 @@ https://doc.rust-lang.org/book/ch10-02-traits.html 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]] name = "traits2" dir = "15_traits"