mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-10 12:49:18 +00:00
Update variables2.rs
initialized x to 20
This commit is contained in:
parent
dba759e1c6
commit
df6f4a3e73
@ -4,7 +4,7 @@
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
let x;
|
||||
let x = 20;
|
||||
if x == 10 {
|
||||
println!("Ten!");
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user