diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index 67d50e63..d7bb1ca1 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"