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