mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
Update exercises/intro/intro2.rs
Co-authored-by: Paul Scarrone <paul@scarrone.co>
This commit is contained in:
parent
44c0480d5b
commit
84bdea68e0
@ -3,5 +3,6 @@
|
||||
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
fn main() {
|
||||
println!("Hello {}!", "world");
|
||||
let world = "world";
|
||||
println!("Hello {world}!");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user