From a2801df541c069d39b703175cb85c032d8fd0347 Mon Sep 17 00:00:00 2001 From: azizadx Date: Fri, 5 May 2023 00:41:05 +0300 Subject: [PATCH] done with intro exercises --- exercises/intro/intro1.rs | 2 -- exercises/intro/intro2.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/exercises/intro/intro1.rs b/exercises/intro/intro1.rs index cfc55c30..54889778 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... "#); diff --git a/exercises/intro/intro2.rs b/exercises/intro/intro2.rs index efc1af20..8fb3a9a2 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 {}!", "Welcome to rust"); }