mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
48ffcbd2c4
let mut number = 3; can lead to a correct answer, so the comment helps to direct the users to the intended answer.
12 lines
310 B
Rust
12 lines
310 B
Rust
// variables5.rs
|
|
// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :)
|
|
|
|
// I AM NOT DONE
|
|
|
|
fn main() {
|
|
let number = "T-H-R-E-E"; // don't change this line
|
|
println!("Spell a Number : {}", number);
|
|
number = 3;
|
|
println!("Number plus two is : {}", number + 2);
|
|
}
|