Update ch04-02-references-and-borrowing.md (#108)

This commit is contained in:
focksor surooi 2022-12-16 16:35:48 +08:00 committed by GitHub
parent c07ee4d0d3
commit 0d345ed4c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@
{{#include ../listings/ch04-understanding-ownership/listing-04-06/output.txt}}
```
正如变量默认是不可变的,引用也一样。(默认)不允许修改引用的值
正如变量在默认情况下是不可变的一样,引用也是不可变的。我们无法通过引用修改内容
### 可变引用