From 486af03f793987f3ea9ded797ab513ccc7618bc9 Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:18:25 -0500 Subject: [PATCH 1/4] intro1 --- exercises/intro/intro1.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index cfc55c30..3adffcb6 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -33,5 +33,6 @@ 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!("hi"); } From 3937082a3cc7c3f0f963349b93975424a069a25d Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:20:40 -0500 Subject: [PATCH 2/4] intro2 --- exercises/intro/intro2.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index efc1af20..49b3a150 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -5,5 +5,6 @@ // I AM NOT DONE fn main() { - println!("Hello {}!"); + let world = "world"; + println!("Hello {world}!"); } From f47eafb657e0a174dc3da06658c7b2f0caaf2b80 Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:22:48 -0500 Subject: [PATCH 3/4] done 2 --- exercises/intro/intro2.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index 49b3a150..7a00e8d6 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() { let world = "world"; println!("Hello {world}!"); From 32c2a272660057bbd52fc645a6bded2d8ade937c Mon Sep 17 00:00:00 2001 From: Paul Scarrone Date: Sun, 12 Feb 2023 19:23:43 -0500 Subject: [PATCH 4/4] intro 1 done --- exercises/intro/intro1.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index 3adffcb6..49f7de9d 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -9,8 +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"); println!(r#" welcome to... "#);