From ac478e46145bc5838abcfe583007de4d98699853 Mon Sep 17 00:00:00 2001 From: asif256000 Date: Wed, 21 Dec 2022 21:51:04 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=F0=9F=A6=80=20Intro=20Solved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/intro/intro1.rs | 4 +--- exercises/intro/intro2.rs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index 45c5acba..051d7e9b 100644 --- a/exercises/intro/intro1.rs +++ b/exercises/intro/intro1.rs @@ -7,9 +7,7 @@ // // If you're running this using `rustlings watch`: The exercise file will be reloaded // 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 +// what it outputs in your terminal. Try removing a semicolon and see what happens fn main() { println!("Hello and"); diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index efc1af20..b5b1d0a8 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"); }