Update en/src/variables.md
This commit is contained in:
parent
722bb85ca6
commit
b7f7755014
|
@ -7,7 +7,7 @@
|
|||
// Fix the error below with least amount of modification to the code
|
||||
fn main() {
|
||||
let x: i32; // Uninitialized but used, ERROR !
|
||||
let y: i32; // Uninitialized but also unused, only a warning
|
||||
let y: i32; // Uninitialized but also unused, only a Warning !
|
||||
|
||||
assert_eq!(x, 5);
|
||||
println!("Success!");
|
||||
|
|
Loading…
Reference in New Issue