From f3663eeb93101ad1974b6df1dfc51a5708c819c6 Mon Sep 17 00:00:00 2001 From: Sateesh Basavaraju Date: Sat, 8 May 2021 16:15:10 +0530 Subject: [PATCH] Address review comments. Fix typos, sentence formatting. --- exercises/option/option3.rs | 2 +- info.toml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/exercises/option/option3.rs b/exercises/option/option3.rs index 77dd4f0..e45fb8f 100644 --- a/exercises/option/option3.rs +++ b/exercises/option/option3.rs @@ -1,4 +1,4 @@ -// option2.rs +// option3.rs // Make me compile! Execute `rustlings hint option3` for hints // I AM NOT DONE diff --git a/info.toml b/info.toml index 7171d86..6567be7 100644 --- a/info.toml +++ b/info.toml @@ -214,7 +214,12 @@ So the end goal is to: name = "move_semantics5" path = "exercises/move_semantics/move_semantics5.rs" mode = "compile" -hint = """Carefully reason about the range in which each mutable reference is in vogue. Does updating the value of referrent (x) immediately after the mutable reference is taken helps ? Read more about 'Mutable Referenes' in the book's section References and Borrowing': https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.""" +hint = """ +Carefully reason about the range in which each mutable reference is in +vogue. Does updating the value of referrent (x) immediately after the +mutable reference is taken helps? Read more about 'Mutable Referenes' +in the book's section References and Borrowing': +https://doc.rust-lang.org/book/ch04-02-references-and-borrowing.html#mutable-references.""" # PRIMITIVE TYPES @@ -591,7 +596,7 @@ path = "exercises/option/option3.rs" mode = "compile" hint = """ The compiler says a partial move happened in the `match` -statement. How can this be avoided ? The compiler shows the correction +statement. How can this be avoided? The compiler shows the correction needed. After making the correction as suggested by the compiler, do read: https://doc.rust-lang.org/std/keyword.ref.html"""