Guest User

Untitled

a guest
Jun 23rd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. struct MyPointer<T> where T: ?Sized {
  2. ptr: Box<T>,
  3. }
  4.  
  5. trait Foo {}
  6.  
  7. fn main() {
  8. let x: MyPointer<dyn Foo>;
  9. }
Add Comment
Please, Sign In to add comment