Named `Fn` trait parameters by JonathanBrouwer · Pull Request #3955 · rust-lang/rfcs · GitHub
DRANK
View all comments Allow (optional) named function parameters in parenthesized generic argument lists, such as those of Fn, FnMut, FnOnce, AsyncFn, AsyncFnMut, and AsyncFnOnce. For example: fn par...
1 comments
log: impl Fn(String, usize)を
log: impl Fn(msg: String, priority: usize)と書けるのね。いいじゃん
Named
Fntrait parameters by JonathanBrouwer · Pull Request #3955 · rust-lang/rfcsgithub.com/rust-lang/rfcs…