We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464cb55 commit fa0463bCopy full SHA for fa0463b
exercises/error_handling/errors1.rs
@@ -3,7 +3,7 @@
3
// This function refuses to generate text to be printed on a nametag if you pass
4
// it an empty string. It'd be nicer if it explained what the problem was,
5
// 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
+// construct to `Option` that can be used to express error conditions. Let's use
7
// it!
8
//
9
// Execute `rustlings hint errors1` or use the `hint` watch subcommand for a
0 commit comments