Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct A<T>(T);
- impl<T> A<T> {
- fn top_kek(&self, x: Option<impl FnMut(&T) -> bool>) {}
- }
- fn main() {
- let a = A(5);
- a.top_kek(None);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement