Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pub fn foo(f: Box<dyn FnOnce()>) {
- f()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement