diff options
| -rw-r--r-- | rustlings-macros/info.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 67d50e6..d7bb1ca 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -1145,7 +1145,11 @@ test = false strict_clippy = true hint = """ `for` loops over `Option` values are more clearly expressed as an `if-let` -statement.""" +statement. + +Not required to solve this exercise, but if you are interested in when iterating +over `Option` can be useful, read the following section in the documentation: +https://doc.rust-lang.org/std/option/#iterating-over-option""" [[exercises]] name = "clippy3" |
