2022-03-12 10:11:38 -08:00

11 lines
321 B
Rust

// intro2.rs
// Make the code print a greeting to the world.
// Execute `rustlings hint intro2` for a hint.
fn main() {
println!("Hello {}!","world");
// you need to put in a string with double quotes. Not sure what about 'world' makes it break yet.
// It seems that a string literal needs double quotes.
}