Skip to content

Commit 49681ea

Browse files
Clarify that drop flag fields only apply to older Rust versions (#324)
Co-authored-by: Yuki Okushi <[email protected]>
1 parent c6b4bf8 commit 49681ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/drop-flags.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ if condition {
7979
}
8080
```
8181

82-
The drop flags are tracked on the stack and no longer stashed in types that
83-
implement drop.
82+
The drop flags are tracked on the stack.
83+
In old Rust versions, drop flags were stashed in a hidden field of types that implement `Drop`.

0 commit comments

Comments
 (0)