From 08c408aae042509526e8cc1f175e7a010836f53d Mon Sep 17 00:00:00 2001 From: mo8it Date: Mon, 8 Jul 2024 15:20:56 +0200 Subject: [PATCH] Add hint about string concatination with + --- rustlings-macros/info.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 715778dd..c9fc65aa 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -585,7 +585,7 @@ https://doc.rust-lang.org/book/ch08-03-hash-maps.html#updating-a-value-based-on- [[exercises]] name = "quiz2" dir = "quizzes" -hint = "No hints this time ;)" +hint = "The `+` operator can concatinate a `String` with a `&str`." # OPTIONS @@ -748,7 +748,9 @@ name = "traits1" dir = "15_traits" hint = """ More about traits in The Book: -https://doc.rust-lang.org/book/ch10-02-traits.html""" +https://doc.rust-lang.org/book/ch10-02-traits.html + +The `+` operator can concatinate a `String` with a `&str`.""" [[exercises]] name = "traits2"