There's a particularly harmful typo in the Rust Guide. Not sure the best way to point it out, so I thought I'd drop it in an email to the list.
In this text: "There's one big difference between a closure and named functions, and it's in the name: a function "closes over its environment." Of course, it should say "a CLOSURE closes over its environment". To someone just learning about closures, this typo will confuse them to no end :)
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev