Skip to content

Commit

Permalink
Merge pull request rust-lang#615 from wsh/docfixes
Browse files Browse the repository at this point in the history
docs: mention flatten in the options2 hint
fmoko authored Jan 4, 2021
2 parents 1283aa3 + e9b42bb commit 5772589
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions info.toml
Original file line number Diff line number Diff line change
@@ -575,8 +575,7 @@ https://doc.rust-lang.org/rust-by-example/flow_control/while_let.html
Remember that Options can be stacked in if let and while let.
For example: Some(Some(variable)) = variable2
Also see Option::flatten
"""

[[exercises]]

0 comments on commit 5772589

Please sign in to comment.