Guest User

Untitled

a guest
Jan 16th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. trait T1 {
  2. fn func1<P: Copy>(&self) {}
  3. }
  4.  
  5. struct O();
  6.  
  7. impl T1 for O{}
  8.  
  9.  
  10. fn main() {
  11. let t = O();
  12. t.func1()
  13. }
Add Comment
Please, Sign In to add comment