mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
16 lines
326 B
Rust
16 lines
326 B
Rust
// variables3.rs
|
|
//
|
|
// Execute `rustlings hint variables3` or use the `hint` watch subcommand for a
|
|
// hint.
|
|
|
|
fn main() {
|
|
<<<<<<< HEAD
|
|
let mut x = 3;
|
|
println!("Number {}", x);
|
|
x = 5; // don't change this line
|
|
=======
|
|
let x: i32;
|
|
>>>>>>> 11d8aea96f2c744d970ed1ffb38785cf5b511e5e
|
|
println!("Number {}", x);
|
|
}
|