summaryrefslogtreecommitdiff
path: root/exercises/13_error_handling/errors1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/13_error_handling/errors1.rs')
-rw-r--r--exercises/13_error_handling/errors1.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/exercises/13_error_handling/errors1.rs b/exercises/13_error_handling/errors1.rs
index 9767f2c..7991c42 100644
--- a/exercises/13_error_handling/errors1.rs
+++ b/exercises/13_error_handling/errors1.rs
@@ -9,6 +9,10 @@
// Execute `rustlings hint errors1` or use the `hint` watch subcommand for a
// hint.
+fn main() {
+ // You can optionally experiment here.
+}
+
pub fn generate_nametag_text(name: String) -> Option<String> {
if name.is_empty() {
// Empty names aren't allowed.