Skip to content

Commit e9b42bb

Browse files
committed
docs: mention flatten in the options2 hint
1 parent 9f61db5 commit e9b42bb

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
@@ -583,8 +583,7 @@ https://doc.rust-lang.org/rust-by-example/flow_control/while_let.html
583583
584584
Remember that Options can be stacked in if let and while let.
585585
For example: Some(Some(variable)) = variable2
586-
587-
586+
Also see Option::flatten
588587
"""
589588

590589
[[exercises]]

0 commit comments

Comments
 (0)