diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index cfc55c30..bc1ba023 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -9,7 +9,6 @@ // when you change one of the lines below! Try adding a `println!` line, or try changing // what it outputs in your terminal. Try removing a semicolon and see what happens! -// I AM NOT DONE fn main() { println!("Hello and"); @@ -33,5 +32,7 @@ fn main() { println!( "If you want to use rust-analyzer, Rust's LSP implementation, make sure your editor is set" ); - println!("up, and then run `rustlings lsp` before continuing.") + println!("up, and then run `rustlings lsp` before continuing."); + println!(""); + println!("Hello, World!") } diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index efc1af20..404db58f 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -2,8 +2,6 @@ // Make the code print a greeting to the world. // Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint. -// I AM NOT DONE - fn main() { - println!("Hello {}!"); + println!("Hello, {}!", "World"); }