SHARE
TWEET

Untitled

a guest Mar 26th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum List<'a> {
  2.     Cons(i32, &'a List<'a>),
  3.     Nil,
  4. }
  5.  
  6. fn main() {
  7.     let x = List::Cons(3, &List::Nil);
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top