FAQ on "How do I return a closure from a function?" no longer correct because impl Fn #51289
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
https://www.rust-lang.org/en-US/faq.html#how-do-i-return-a-closure-from-a-function is no longer correct because now it is possible to return a closure without boxing it thanks to returning
impl Fn
.The text was updated successfully, but these errors were encountered: