Update info.toml

Co-authored-by: diannasoreil <mokou@fastmail.com>
This commit is contained in:
Lucas Aries 2022-02-04 22:45:32 +01:00 committed by GitHub
parent 7314c17628
commit fa4766cf30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ name = "move_semantics6"
path = "exercises/move_semantics/move_semantics6.rs"
mode = "compile"
hint = """
Here if you want to find the answer by yourself, you can read in the book's section References and Borrowing:
To find the answer, you can consult the book section "References and Borrowing":
https://doc.rust-lang.org/stable/book/ch04-02-references-and-borrowing.html
Else the first problem is that `get_char` is taking ownership of the string
So `data` is moved and can't be used for `string_uppercase`