From 9b6be7ac83d5e90552803c98e31e4e3eea191db5 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 13 Oct 2022 09:11:30 +0200 Subject: [PATCH] no -> not --- en/src/lifetime/static.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/src/lifetime/static.md b/en/src/lifetime/static.md index b640b64..a266ad2 100644 --- a/en/src/lifetime/static.md +++ b/en/src/lifetime/static.md @@ -108,7 +108,7 @@ fn main() { ## T: 'static As a trait bound, it means the type does not contain any non-static references. Eg. the receiver can hold on to the type for as long as they want and it will never become invalid until they drop it. -It's important to understand this means that any owned data always passes a `'static `lifetime bound, but a reference to that owned data generally does no。 +It's important to understand this means that any owned data always passes a `'static `lifetime bound, but a reference to that owned data generally does not. 5、🌟🌟 ```rust,editable @@ -192,4 +192,4 @@ fn print_f(t: &(impl Display + 'static)) { fn print_g(t: &'static String) { println!("{}", t); } -``` \ No newline at end of file +```