1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-14 11:22:55 +02:00
rustlings/exercises/01_variables/variables1.rs

12 lines
197 B
Rust
Raw Normal View History

2018-02-22 08:09:53 +02:00
// variables1.rs
//
2021-04-24 19:15:34 +02:00
// Make me compile!
//
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a
// hint.
2015-09-17 02:19:24 +02:00
fn main() {
x = 5;
println!("x has the value {}", x);
}