Guest User

Untitled

a guest
Apr 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #[derive(Debug)]
  2. enum Void { }
  3.  
  4. fn f<A, B>(x: A) -> B {
  5. f(x)
  6. }
  7.  
  8. fn main() {
  9. let x: Void = f(3);
  10. println!("x = {:?}", x);
  11. }
Add Comment
Please, Sign In to add comment