Guest User

Untitled

a guest
Feb 16th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. #![feature(generic_associated_types)]
  2.  
  3. use std::ops::Deref;
  4.  
  5. trait SomeTrait {
  6. type Assoc<T = i32>: Deref<Target = T>;
  7. }
  8.  
  9. fn main() {
  10. }
Add Comment
Please, Sign In to add comment