mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
variables 4
This commit is contained in:
parent
44eb9f7c3c
commit
62af9047c7
@ -1,10 +1,8 @@
|
||||
// variables4.rs
|
||||
// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
let x = 3;
|
||||
let mut x = 3;
|
||||
println!("Number {}", x);
|
||||
x = 5; // don't change this line
|
||||
println!("Number {}", x);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user