diff options
| author | ast-ral <ast.hyphen.ral@gmail.com> | 2021-09-01 20:52:30 -0700 |
|---|---|---|
| committer | ast-ral <ast.hyphen.ral@gmail.com> | 2021-09-01 20:52:30 -0700 |
| commit | 9da8e2a2fa902e644b4de143a379e339ed054afe (patch) | |
| tree | cccf5f41224fbc095c3718ad42551a30ff88624d | |
| parent | e3c71f1e33b026dea7c9ca7c1c4554e63f56a0da (diff) | |
| download | rust-9da8e2a2fa902e644b4de143a379e339ed054afe.tar.gz rust-9da8e2a2fa902e644b4de143a379e339ed054afe.zip | |
remove redundant / misplaced sentence from docs
| -rw-r--r-- | library/core/src/ptr/mod.rs | 4 |
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)] |
