1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-01-12 03:51:08 +02:00
rustlings/exercises/variables/variables1.rs

14 lines
215 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.
// I AM NOT DONE
2015-09-17 02:19:24 +02:00
fn main() {
x = 5;
println!("x has the value {}", x);
}