1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-02-20 00:00:03 +03:00
rustlings/solutions/01_variables/variables6.rs
2024-05-21 01:47:57 +02:00

7 lines
123 B
Rust

// The type of constants must always be annotated.
const NUMBER: u64 = 3;
fn main() {
println!("Number: {NUMBER}");
}