From ff4bfe56f2228247ec7d416fc73374bcf91a5f57 Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Fri, 27 May 2022 19:50:42 +0200 Subject: [PATCH] Use a consistent name for the "owns T" marker --- src/phantom-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phantom-data.md b/src/phantom-data.md index f3218fd..e118a47 100644 --- a/src/phantom-data.md +++ b/src/phantom-data.md @@ -119,7 +119,7 @@ standard library uses an unstable and `unsafe` attribute to opt back into the ol This section can be skipped if you are only writing your own library code; but if you are curious about what the standard library does with the actual `Vec` definition, you'll notice -that it still needs to use a `_marker: PhantomData` field for soundness. +that it still needs to use a `_owns_T: PhantomData` field for soundness.
Click here to see why