7 lines
122 B
Rust
7 lines
122 B
Rust
|
fn main() {
|
||
|
// Declaring variables requires the `let` keyword.
|
||
|
let x = 5;
|
||
|
|
||
|
println!("x has the value {x}");
|
||
|
}
|