From 20ad16f240e6d5b6b6ea3017421eb3d5d3db151d Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Sat, 25 May 2024 11:53:46 -0700 Subject: [PATCH] Simplify dropck remark on PhantomData --- library/core/src/marker.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs index 1d073a6d649b8..eb6aca71c653a 100644 --- a/library/core/src/marker.rs +++ b/library/core/src/marker.rs @@ -724,9 +724,9 @@ impl !Sync for *mut T {} /// /// The exact interaction of `PhantomData` with drop check **may change in the future**. /// -/// Currently, adding a field of type `PhantomData` indicates that your type *owns* data of type -/// `T` in very rare circumstances. This in turn has effects on the Rust compiler's [drop check] -/// analysis. For the exact rules, see the [drop check] documentation. +/// Currently, adding a field of type `PhantomData` indicates the type *owns* data of type `T`. +/// In very rare circumstances, this has effects on the Rust compiler's [drop check] analysis. +/// For the exact rules, see the [drop check] documentation. /// /// ## Layout ///