From 2a5c30b204f43cd63694727f9ad6198d9f6d340b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E6=BC=A0=E7=9F=A5=E7=A7=8B?= Date: Tue, 11 Apr 2023 23:04:12 +0800 Subject: [PATCH] Typo modification --- src/too-many-lists/ok-stack/iter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/too-many-lists/ok-stack/iter.md b/src/too-many-lists/ok-stack/iter.md index 632e7df8..671f34a5 100644 --- a/src/too-many-lists/ok-stack/iter.md +++ b/src/too-many-lists/ok-stack/iter.md @@ -290,7 +290,7 @@ error[E0507]: cannot move out of borrowed content 又怎么了! (ノಥ益ಥ)ノ ┻━┻ -大家还记得之前章节的内容吗?原因是这里我们忘记了 `as_ref` ,然后值的所有权被转移到了 `map` 中,结果我们在内部引用了一个局部值,造成一个垂悬引用: +大家还记得之前章节的内容吗?原因是这里我们忘记了 `as_ref` ,然后值的所有权被转移到了 `map` 中,结果我们在内部引用了一个局部值,造成一个悬垂引用: ```rust pub struct Iter<'a, T> { next: Option<&'a Node>,