1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-12-13 23:35:40 +02:00

Merge branch 'master' into refactor-hints

This commit is contained in:
marisa
2019-11-11 17:21:06 +01:00
committed by GitHub
61 changed files with 315 additions and 12 deletions

View File

@@ -1,6 +1,13 @@
// variables1.rs
// Make me compile! Execute the command `rustlings hint variables1` if you want a hint :)
// 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, you the `I AM NOT DONE` comment below.
// I AM NOT DONE
fn main() {
x = 5;
println!("x has the value {}", x);