SHARE
TWEET

Untitled

a guest Jul 19th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. use std::collections::HashMap;
  2.  
  3. fn main() {
  4.   let a = (1, 2);
  5.   let foo = Some(&a);
  6.  
  7.   let bar : Option<(u8, u8)> = foo.cloned();
  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