Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern crate void; // 1.0.2
- use void::Void;
- pub fn test(_f: &Fn() -> Void) {}
- fn main() {
- test(&|| panic!("It works !"));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement