Update variables2.rs

initialized x to 20
This commit is contained in:
Olaoye Kayode Samuel 2021-11-18 20:52:24 +01:00 committed by GitHub
parent dba759e1c6
commit df6f4a3e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
// I AM NOT DONE
fn main() {
let x;
let x = 20;
if x == 10 {
println!("Ten!");
} else {