From ff7da2a109d2b473310a4aefd07948bd2b018229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=EF=BC=88=E4=B9=A6=E7=94=9F=EF=BC=89?= Date: Sun, 23 Jan 2022 23:08:45 +0800 Subject: [PATCH] Update borrowing.md --- book/contents/basic/ownership/borrowing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/basic/ownership/borrowing.md b/book/contents/basic/ownership/borrowing.md index e7574b0e..c4fb37d5 100644 --- a/book/contents/basic/ownership/borrowing.md +++ b/book/contents/basic/ownership/borrowing.md @@ -296,5 +296,5 @@ fn no_dangle() -> String { ## 借用规则总结 总的来说,借用规则如下: -- 同一时刻,你只能拥有一个可变引用或者任意多个不可变引用 +- 同一时刻,你只能拥有要么一个可变引用, 要么任意多个不可变引用 - 引用必须总是有效的