diff --git a/src/librustc_error_codes/error_codes/E0477.md b/src/librustc_error_codes/error_codes/E0477.md index 29ce53433459..794456451ef3 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>) { } ``` -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;