This commit is contained in:
blacktoast 2021-09-29 05:45:22 +00:00
parent 4a78654681
commit 03a69236ba

View File

@ -9,7 +9,7 @@ fn main() {
let mut x = 100;
{
let y = &mut x;
y += 100;
*y += 100;
}
let z = &mut x;
*z += 1000;