Skip to content

Commit 9da8e2a

Browse files
committed
remove redundant / misplaced sentence from docs
1 parent e3c71f1 commit 9da8e2a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/core/src/ptr/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,6 @@ mod mut_ptr;
182182
/// // Ensure that the last item was dropped.
183183
/// assert!(weak.upgrade().is_none());
184184
/// ```
185-
///
186-
/// Notice that the compiler performs this copy automatically when dropping packed structs,
187-
/// i.e., you do not usually have to worry about such issues unless you call `drop_in_place`
188-
/// manually.
189185
#[stable(feature = "drop_in_place", since = "1.8.0")]
190186
#[lang = "drop_in_place"]
191187
#[allow(unconditional_recursion)]

0 commit comments

Comments
 (0)