Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct T {}
- impl T {
- fn f(i: u32) {}
- }
- fn main() {
- Some(1).into_iter().for_each(T::f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement