Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. struct A<T>(T);
  2.  
  3. impl<T> A<T> {
  4. fn top_kek(&self, x: Option<impl FnMut(&T) -> bool>) {}
  5. }
  6.  
  7. fn main() {
  8.  
  9. let a = A(5);
  10. a.top_kek(None);
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement