

-
Note that this is somewhat specific to the 2021 edition with how closure captures changed. Unfortunately the documentation hasn't been merged yet, but there are more details at https://github.com/rust-lang/reference/pull/1059 and RFC 2229.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Note that this is somewhat specific to the 2021 edition with how closure captures changed. Unfortunately the documentation hasn't been merged yet, but there are more details at https://github.com/rust-lang/reference/pull/1059 and RFC 2229.
-
-
The line says "1.57 .. or later" - it's not autogenerated. It's updated manually in the book repo. You can see in the update commits that it gets updated when things change between rust versions, usually things like error message output in examples.