From 33a8b24bc5e66832cbcea3eb3545b097b9266c8f Mon Sep 17 00:00:00 2001 From: Rock070 Date: Sun, 17 Dec 2023 00:02:42 +0800 Subject: [PATCH] Add call_me function to print "Hello World!" --- exercises/02_functions/functions1.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exercises/02_functions/functions1.rs b/exercises/02_functions/functions1.rs index 40ed9a07..7ed8100f 100644 --- a/exercises/02_functions/functions1.rs +++ b/exercises/02_functions/functions1.rs @@ -3,7 +3,9 @@ // Execute `rustlings hint functions1` or use the `hint` watch subcommand for a // hint. -// I AM NOT DONE +fn call_me() { + println!("Hello World!"); +} fn main() { call_me();