From 2be31fe94a66c68ab04b9c44d73c2111ba1c5ca0 Mon Sep 17 00:00:00 2001 From: Paul Calande Date: Tue, 23 Nov 2021 09:21:43 -0500 Subject: [PATCH] Clarify that drop flag fields only apply to older Rust versions --- src/drop-flags.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drop-flags.md b/src/drop-flags.md index 65fff15..26c2bfb 100644 --- a/src/drop-flags.md +++ b/src/drop-flags.md @@ -79,5 +79,5 @@ if condition { } ``` -The drop flags are tracked on the stack and no longer stashed in types that -implement drop. +The drop flags are tracked on the stack. In old Rust versions, drop flags were +stashed in a hidden field of types that implement Drop.