If I understand things right, a block has a mutable closure, while either a lambda or a sendfn has an immutable closure?
The idea that a fn (no closure) could implicitly turn into a block (mutable closure) seemed freaky when I read the tutorial. For immutability by default, wouldn't a lambda or sendfn be better? If an immutable, sendable default makes the most sense, rename "sendfn" to "fn". If every new user like me writes fn, where will the performance and readability penalties fall? Cheers, Kevin
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
