diff options
| author | mo8it <mo8it@proton.me> | 2024-08-17 15:45:02 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-17 15:45:02 +0200 |
| commit | ca5d5f0a4909fbf53ed08e759a5f480648c88bb6 (patch) | |
| tree | 4329ef8db2f16af8724510509cdb2a4968a4be10 /exercises | |
| parent | 69b4fd49fcfad1f71df4627c6fa7f1aa505d0778 (diff) | |
Remove dot for copy-pasta
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/13_error_handling/errors1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String>`. fn generate_nametag_text(name: String) -> Option<String> { if name.is_empty() { - // Empty names aren't allowed. + // Empty names aren't allowed None } else { Some(format!("Hi! My name is {name}")) |
