summaryrefslogtreecommitdiff
path: root/rustlings-macros
diff options
context:
space:
mode:
Diffstat (limited to 'rustlings-macros')
-rw-r--r--rustlings-macros/info.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml
index 3694b94..6027b6b 100644
--- a/rustlings-macros/info.toml
+++ b/rustlings-macros/info.toml
@@ -616,9 +616,9 @@ Check out:
- https://doc.rust-lang.org/rust-by-example/flow_control/if_let.html
- https://doc.rust-lang.org/rust-by-example/flow_control/while_let.html
-Remember that `Option`s can be stacked in `if let` and `while let`.
+Remember that `Option`s can be nested in if-let and while-let statements.
-For example: `Some(Some(variable)) = variable2`
+For example: `if let Some(Some(x)) = y`
Also see `Option::flatten`
"""