mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-01-24 00:40:25 +01:00
Add some exercises about variables!
This commit is contained in:
6
variables/variables1.rs
Normal file
6
variables/variables1.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
// Make me compile!
|
||||
|
||||
fn main() {
|
||||
x = 5;
|
||||
println!("x has the value {}", x);
|
||||
}
|
||||
Reference in New Issue
Block a user