daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum T{
  2.     Some(i32),
  3.     N,
  4. }
  5.  
  6. fn t(f: fn(i32) -> T){
  7.     println!("hello");
  8.    
  9. }
  10.  
  11. fn main() {
  12.     t(T::Some);
  13.    
  14. }
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