Skip to content

Commit fa0463b

Browse files
authored
fix(errors1): change Result to Option in exersise description
1 parent 464cb55 commit fa0463b

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)