17 lines
479 B
Rust
17 lines
479 B
Rust
// variables1.rs
|
|
//
|
|
// About this `I AM NOT DONE` thing:
|
|
// We sometimes encourage you to keep trying things on a given exercise,
|
|
// even after you already figured it out. If you got everything working and
|
|
// feel ready for the next exercise, remove the `I AM NOT DONE` comment below.
|
|
// Make me compile!
|
|
//
|
|
// If you need help, open the corresponding README.md or run: rustlings hint variables1
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
x = 5;
|
|
println!("x has the value {}", x);
|
|
}
|