SHARE
TWEET

Untitled

a guest Mar 26th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct MyType;
  2.  
  3. fn f(_: &MyType) {}
  4.  
  5. fn main() {
  6.     let mut a = MyType{};
  7.     let _b = &mut a;
  8.     f(&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