Skip to content

Commit

Permalink
fix(errors1): change Result to Option in exersise description
Browse files Browse the repository at this point in the history
  • Loading branch information
eLVas authored Aug 25, 2023
1 parent 464cb55 commit fa0463b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/error_handling/errors1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This function refuses to generate text to be printed on a nametag if you pass
// it an empty string. It'd be nicer if it explained what the problem was,
// instead of just sometimes returning `None`. Thankfully, Rust has a similar
// construct to `Result` that can be used to express error conditions. Let's use
// construct to `Option` that can be used to express error conditions. Let's use
// it!
//
// Execute `rustlings hint errors1` or use the `hint` watch subcommand for a
Expand Down

0 comments on commit fa0463b

Please sign in to comment.