From 3729826dc483e9e14dec8ba6ee937ce8ba935ad7 Mon Sep 17 00:00:00 2001 From: mg-chao Date: Tue, 4 Jan 2022 22:12:28 +0800 Subject: [PATCH] perf --- course-book/contents/advance/lifetime/advance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course-book/contents/advance/lifetime/advance.md b/course-book/contents/advance/lifetime/advance.md index 75c4a1fe..1dc1e1ae 100644 --- a/course-book/contents/advance/lifetime/advance.md +++ b/course-book/contents/advance/lifetime/advance.md @@ -94,7 +94,7 @@ fn main() { ``` -该段代码不能通过编译的原因是编译器未能精确地判断出某个可变借用不再需要,反而谨慎的给该借用安排了一个很大的作用域,结果导致后续的借用失败: +这段代码不能通过编译的原因是编译器未能精确地判断出某个可变借用不再需要,反而谨慎的给该借用安排了一个很大的作用域,结果导致后续的借用失败: ```console error[E0499]: cannot borrow `*map` as mutable more than once at a time