daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 61 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. fn foo(_: &String) {}
  2.  
  3. fn main() {
  4.     let a = String::from("foo");
  5.     if let (1, x) = &(1, a) {
  6.         foo(x);
  7.     }
  8.     println!("{}", a);
  9. }
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