mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-01-23 08:20:27 +01:00
Add some exercises about variables!
This commit is contained in:
8
variables/variables3.rs
Normal file
8
variables/variables3.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
// Make me compile!
|
||||
|
||||
fn main() {
|
||||
let x = 3;
|
||||
println!("Number {}", x);
|
||||
x = 5;
|
||||
println!("Number {}", x);
|
||||
}
|
||||
Reference in New Issue
Block a user