mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
수정
This commit is contained in:
parent
4a78654681
commit
03a69236ba
@ -9,7 +9,7 @@ fn main() {
|
|||||||
let mut x = 100;
|
let mut x = 100;
|
||||||
{
|
{
|
||||||
let y = &mut x;
|
let y = &mut x;
|
||||||
y += 100;
|
*y += 100;
|
||||||
}
|
}
|
||||||
let z = &mut x;
|
let z = &mut x;
|
||||||
*z += 1000;
|
*z += 1000;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user