Skip to content

Commit 5772589

Browse files
author
fmoko
authored
Merge pull request #615 from wsh/docfixes
docs: mention flatten in the options2 hint
2 parents 1283aa3 + e9b42bb commit 5772589

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

info.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,7 @@ https://doc.rust-lang.org/rust-by-example/flow_control/while_let.html
575575
576576
Remember that Options can be stacked in if let and while let.
577577
For example: Some(Some(variable)) = variable2
578-
579-
578+
Also see Option::flatten
580579
"""
581580

582581
[[exercises]]

0 commit comments

Comments
 (0)