This commit is contained in:
palutz 2023-07-03 17:38:16 +01:00
parent f2de12aa34
commit 168f225b01
2 changed files with 4 additions and 5 deletions

View File

@ -9,7 +9,6 @@
// when you change one of the lines below! Try adding a `println!` line, or try changing // 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! // what it outputs in your terminal. Try removing a semicolon and see what happens!
// I AM NOT DONE
fn main() { fn main() {
println!("Hello and"); println!("Hello and");
@ -33,5 +32,7 @@ fn main() {
println!( println!(
"If you want to use rust-analyzer, Rust's LSP implementation, make sure your editor is set" "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!")
} }

View File

@ -2,8 +2,6 @@
// Make the code print a greeting to the world. // Make the code print a greeting to the world.
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint. // Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
// I AM NOT DONE
fn main() { fn main() {
println!("Hello {}!"); println!("Hello, {}!", "World");
} }