diff options
| author | Donough Liu <ldm2993593805@163.com> | 2019-12-30 17:14:08 +0800 |
|---|---|---|
| committer | Donough Liu <ldm2993593805@163.com> | 2019-12-30 17:14:08 +0800 |
| commit | b4e1fbcf8147362ee82c8e82ff270ddc3eb08270 (patch) | |
| tree | 21888939ea78ae4e15c54359aa6c85b686497ad1 /src | |
| parent | 751fe7c43d428595d965d22ff21cc3c39dbccd5a (diff) | |
| download | rust-b4e1fbcf8147362ee82c8e82ff270ddc3eb08270.tar.gz rust-b4e1fbcf8147362ee82c8e82ff270ddc3eb08270.zip | |
Gammer fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0477.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_error_codes/error_codes/E0477.md b/src/librustc_error_codes/error_codes/E0477.md index 29ce5343345..794456451ef 100644 --- a/src/librustc_error_codes/error_codes/E0477.md +++ b/src/librustc_error_codes/error_codes/E0477.md @@ -21,9 +21,9 @@ fn print_string<'a>(s: Mutex<MyString<'a>>) { } ``` -In this example, the closure doesn't satisfy the `'static` lifetime constraint. -To fix this kind of error, you need to double check lifetime of the type. Here, -we can fix this problem by giving `s` a static lifetime: +In this example, the closure does not satisfy the `'static` lifetime constraint. +To fix this error, you need to double check the lifetime of the type. Here, we +can fix this problem by giving `s` a static lifetime: ``` use std::sync::Mutex; |
