Merge pull request #615 from wsh/docfixes

docs: mention flatten in the options2 hint
This commit is contained in:
fmoko 2021-01-04 14:12:11 +01:00 committed by GitHub
commit 5772589dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]]