mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
Adding an additional placeholder "__" on line 22
Currently, on line 22 there is only a single placeholder "__", whereas the correct answer is "mut x" hence an extra "__" is added line 22 : current : let __ = 1; propose : let __ __ = 1; Correct answer : let mut x = 1; cheers
This commit is contained in:
@ -19,7 +19,7 @@ fn main() {
|
|||||||
|
|
||||||
// Fill the blanks in the code to make it compile
|
// Fill the blanks in the code to make it compile
|
||||||
fn main() {
|
fn main() {
|
||||||
let __ = 1;
|
let __ __ = 1;
|
||||||
__ += 2;
|
__ += 2;
|
||||||
|
|
||||||
assert_eq!(x, 3);
|
assert_eq!(x, 3);
|
||||||
|
Reference in New Issue
Block a user