about summary refs log tree commit diff
diff options
context:
space:
mode:
authorast-ral <ast.hyphen.ral@gmail.com>2021-09-01 20:52:30 -0700
committerast-ral <ast.hyphen.ral@gmail.com>2021-09-01 20:52:30 -0700
commit9da8e2a2fa902e644b4de143a379e339ed054afe (patch)
treecccf5f41224fbc095c3718ad42551a30ff88624d
parente3c71f1e33b026dea7c9ca7c1c4554e63f56a0da (diff)
downloadrust-9da8e2a2fa902e644b4de143a379e339ed054afe.tar.gz
rust-9da8e2a2fa902e644b4de143a379e339ed054afe.zip
remove redundant / misplaced sentence from docs
-rw-r--r--library/core/src/ptr/mod.rs4
1 files changed, 0 insertions, 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)]