From ec3abdda1e1975071a2b8a4a32d1578ddf3a39f8 Mon Sep 17 00:00:00 2001 From: zongzi531 Date: Fri, 25 Feb 2022 12:57:33 +0800 Subject: [PATCH] Fix typo in lifetime/static.md --- contents/advance/lifetime/static.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/advance/lifetime/static.md b/contents/advance/lifetime/static.md index 2b45c47e..16cb6ed9 100644 --- a/contents/advance/lifetime/static.md +++ b/contents/advance/lifetime/static.md @@ -150,7 +150,7 @@ error[E0597]: `s1` does not live long enough | - `s1` dropped here while still borrowed ``` -原因很简单,`s1` 获得不够久,没有满足 `'static` 的生命周期要求。 +原因很简单,`s1` 活得不够久,没有满足 `'static` 的生命周期要求。 ## 使用经验 至此,相信大家对于 `'static` 和 `T: 'static` 也有了清晰的理解,那么我们应该如何使用它们呢?