mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-14 08:27:17 +00:00
docs: mention flatten in the options2 hint
This commit is contained in:
parent
9f61db5dbe
commit
e9b42bbc2a
1 changed files with 1 additions and 2 deletions
|
@ -583,8 +583,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]]
|
||||
|
|
Loading…
Reference in a new issue