Created
February 16, 2017 02:58
-
-
Save anonymous/bf8af4ecad2397cd3649b26eb3172a39 to your computer and use it in GitHub Desktop.
Rust code shared from the playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let z = 3; | |
let mut p = &z; | |
{ | |
let x = 5; | |
p = &x; | |
p = &z; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment