mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 05:39:19 +00:00
Update exercises/variables/variables4.rs
Co-authored-by: Paul Scarrone <paul@scarrone.co>
This commit is contained in:
parent
84bdea68e0
commit
b410ca2df7
@ -2,8 +2,8 @@
|
|||||||
// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a hint.
|
// Execute `rustlings hint variables4` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut x = 3;
|
let x = 3;
|
||||||
println!("Number {}", x);
|
println!("Number {}", x);
|
||||||
x = 5; // don't change this line
|
let x = 5; // don't change this line
|
||||||
println!("Number {}", x);
|
println!("Number {}", x);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user