10 lines
260 B
Rust
10 lines
260 B
Rust
// variables6.rs
|
|
// Make me compile! Execute the command `rustlings hint variables6` if you want a hint :)
|
|
|
|
// consts have to have strict data type definition
|
|
// otherwise they won't work
|
|
const NUMBER: i32 = 3;
|
|
fn main() {
|
|
println!("Number {}", NUMBER);
|
|
}
|