mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
🚧Variables: Exercise 6
This commit is contained in:
parent
dd9e17d236
commit
fddad556f5
@ -1,9 +1,9 @@
|
|||||||
// variables6.rs
|
// variables6.rs
|
||||||
// Make me compile! Execute the command `rustlings hint variables6` if you want a hint :)
|
// Make me compile! Execute the command `rustlings hint variables6` if you want a hint :)
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM DONE
|
||||||
|
|
||||||
const NUMBER = 3;
|
const NUMBER: i32 = 3;
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Number {}", NUMBER);
|
println!("Number {}", NUMBER);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user