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