From b955a9c8a6081c4037e857c5bf3ee90875883a0a Mon Sep 17 00:00:00 2001 From: jzzhen Date: Thu, 27 Jan 2022 00:18:30 -0500 Subject: [PATCH] Update borrowing.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 来一起看看如果解决这个问题-> 来一起看看如何解决这个问题 --- 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 b2057863..36dbe3ba 100644 --- a/book/contents/basic/ownership/borrowing.md +++ b/book/contents/basic/ownership/borrowing.md @@ -96,7 +96,7 @@ error[E0596]: cannot borrow `*some_string` as mutable, as it is behind a `&` ref `some_string`是一个`&`类型的引用,因此它指向的数据无法进行修改 ``` -正如变量默认不可变一样,引用指向的值默认也是不可变的,没事,来一起看看如果解决这个问题。 +正如变量默认不可变一样,引用指向的值默认也是不可变的,没事,来一起看看如何解决这个问题。 ### 可变引用