Increased for 2, decreased for 1.
710 karma · joined January 18, 2016
fn foo<T,E>(closure: impl FnMut(&T) -> bool | E) -> Option<T> | E
All that's needed syntax-wise would be a way to attach one or more type parameters to a function type. (I used "|" here but it could be anything)This is not Rust's philosophy at all.