Skip to content

Commit 4c33423

Browse files
Ddystopiateor2345
andauthored
Update text/0000-forget-marker-trait.md
Co-authored-by: teor <[email protected]>
1 parent bdb61bf commit 4c33423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-forget-marker-trait.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ fn phantom<'a>(baz: &'a Baz) -> Foo<PhantomData<&'a ()>> {
542542

543543
Type becomes `!Forget` if it directly contains `!Forget` member.
544544

545-
We should either allow `!Forget` types in statics or make all `'static` types `Forget` because it fulfills the unsafe guarantee and we can't enforce any code running before the program's abortion.
545+
We should either allow `!Forget` types in statics or make all `'static` types `Forget` because it fulfills the unsafe guarantee and we can't enforce any code running before the program exits or aborts.
546546

547547
```rust
548548
let mut resource = [0u8; 64];

0 commit comments

Comments
 (0)