mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-24 06:22:23 -05:00
6 lines
123 B
Rust
6 lines
123 B
Rust
// The type of constants must always be annotated.
|
|
const NUMBER: u64 = 3;
|
|
|
|
fn main() {
|
|
println!("Number: {NUMBER}");
|
|
}
|