Pre-RFC: parameter names in closure type declarations: fn search(should_continue: impl FnMut(x: i32, y: i32) -> bool) {} The argument names are completely ignored by the compiler, but they help disambiguate things for the reader.
-
-
Replying to @Sunjay03
I've definitely wanted this, but am wary. We've gone the *other* way in traits: https://rust-lang.github.io/rfcs/1685-deprecate-anonymous-parameters.html …
1 reply 0 retweets 3 likes -
Replying to @withoutboats @Sunjay03
What I mean is: we've moved towards not giving you a choice of either having labels or not having labels.
2:24 PM - 30 Oct 2018
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.