From 9da8e2a2fa902e644b4de143a379e339ed054afe Mon Sep 17 00:00:00 2001 From: ast-ral Date: Wed, 1 Sep 2021 20:52:30 -0700 Subject: [PATCH] remove redundant / misplaced sentence from docs --- library/core/src/ptr/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs index 02c9dadc086..014170604ec 100644 --- a/library/core/src/ptr/mod.rs +++ b/library/core/src/ptr/mod.rs @@ -182,10 +182,6 @@ mod mut_ptr; /// // Ensure that the last item was dropped. /// assert!(weak.upgrade().is_none()); /// ``` -/// -/// Notice that the compiler performs this copy automatically when dropping packed structs, -/// i.e., you do not usually have to worry about such issues unless you call `drop_in_place` -/// manually. #[stable(feature = "drop_in_place", since = "1.8.0")] #[lang = "drop_in_place"] #[allow(unconditional_recursion)]