mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 07:20:30 +00:00
8 lines
281 B
Rust
8 lines
281 B
Rust
fn main() {
|
|
let number = "T-H-R-E-E"; // Don't change this line
|
|
println!("Spell a number: {}", number);
|
|
|
|
// TODO: Fix the compiler error by changing the line below without renaming the the variable.
|
|
number = 3;
|
|
println!("Number plus two is: {}", number + 2);
|
|
}
|