Last active
December 14, 2015 03:51
-
-
Save dbbbit/0cbcef1bfaf1a14d9c95 to your computer and use it in GitHub Desktop.
This file contains 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 mut a = String::from("hello"); | |
{ | |
let b = &mut a; | |
&&&&&&&&&&&&&&&&&&&&&&&b.push('b'); | |
} | |
a.push('a'); | |
println!("{}", a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment