mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
variables 1
This commit is contained in:
parent
fc9fb536ca
commit
1a59f67d87
@ -2,9 +2,7 @@
|
||||
// Make me compile!
|
||||
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
x = 5;
|
||||
let x = 5;
|
||||
println!("x has the value {}", x);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user