From 64c8423e2a4912bc7af28b6df294c62d1b3352a6 Mon Sep 17 00:00:00 2001 From: ralsei38 Date: Thu, 10 Feb 2022 22:37:24 +0100 Subject: [PATCH] done introduction --- exercises/intro/intro1.rs | 2 -- exercises/intro/intro2.rs | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index 1c4582de..3b11d4a2 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -5,8 +5,6 @@ // ready for the next exercise, remove the `I AM NOT DONE` comment below. // Execute the command `rustlings hint intro1` for a hint. -// I AM NOT DONE - fn main() { println!("Hello and"); println!(r#" welcome to... "#); diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index 97a073f0..850f321e 100644 --- a/exercises/intro/intro2.rs +++ b/exercises/intro/intro2.rs @@ -2,8 +2,7 @@ // Make the code print a greeting to the world. // Execute `rustlings hint intro2` for a hint. -// I AM NOT DONE - fn main() { - println!("Hello {}!"); + let str_stuff = "world"; + println!("Hello {}!", str_stuff); }