Skip to content

Commit 38b4327

Browse files
authored
Merge pull request #1632 from eLVas/main
fix(errors1): change Result to Option in exersise description
2 parents 464cb55 + fa0463b commit 38b4327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/error_handling/errors1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// This function refuses to generate text to be printed on a nametag if you pass
44
// it an empty string. It'd be nicer if it explained what the problem was,
55
// instead of just sometimes returning `None`. Thankfully, Rust has a similar
6-
// construct to `Result` that can be used to express error conditions. Let's use
6+
// construct to `Option` that can be used to express error conditions. Let's use
77
// it!
88
//
99
// Execute `rustlings hint errors1` or use the `hint` watch subcommand for a

0 commit comments

Comments
 (0)