daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn main() {
  2.     let x: i32 = 5;
  3.     unsafe {
  4.         let x_p = &5;
  5.         let y_p = std::mem::transmute::<&i32, &u32>(x_p);
  6.     }
  7.    
  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