Skip to content

Commit b4e1fbc

Browse files
committed
Gammer fix
1 parent 751fe7c commit b4e1fbc

File tree

1 file changed

+3
-3
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-3
lines changed

src/librustc_error_codes/error_codes/E0477.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ fn print_string<'a>(s: Mutex<MyString<'a>>) {
2121
}
2222
```
2323

24-
In this example, the closure doesn't satisfy the `'static` lifetime constraint.
25-
To fix this kind of error, you need to double check lifetime of the type. Here,
26-
we can fix this problem by giving `s` a static lifetime:
24+
In this example, the closure does not satisfy the `'static` lifetime constraint.
25+
To fix this error, you need to double check the lifetime of the type. Here, we
26+
can fix this problem by giving `s` a static lifetime:
2727

2828
```
2929
use std::sync::Mutex;

0 commit comments

Comments
 (0)