mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-07 03:09:19 +00:00
12 lines
296 B
Rust
12 lines
296 B
Rust
// variables5.rs
|
|
// Make me compile! Execute the command `rustlings hint variables5` if you want a hint :)
|
|
|
|
fn main() {
|
|
let number = "3"; // don't change this line
|
|
println!("Number {}", number);
|
|
{
|
|
let number = &(33).to_string();
|
|
println!("Number {}", number);
|
|
}
|
|
}
|