From ca5d5f0a4909fbf53ed08e759a5f480648c88bb6 Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 17 Aug 2024 15:45:02 +0200 Subject: [PATCH] Remove dot for copy-pasta --- exercises/13_error_handling/errors1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/13_error_handling/errors1.rs b/exercises/13_error_handling/errors1.rs index ec7cb3c..e07fddc 100644 --- a/exercises/13_error_handling/errors1.rs +++ b/exercises/13_error_handling/errors1.rs @@ -6,7 +6,7 @@ // of `Option`. fn generate_nametag_text(name: String) -> Option { if name.is_empty() { - // Empty names aren't allowed. + // Empty names aren't allowed None } else { Some(format!("Hi! My name is {name}"))