From b0c39a13be97b465aa7f96d455c3ce6c582b2c5e Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 23 Nov 2025 11:21:06 -0300 Subject: [PATCH] This statement is misleading --- library/core/src/mem/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/core/src/mem/mod.rs b/library/core/src/mem/mod.rs index f4fcc9b1f3665..f980d71314b0c 100644 --- a/library/core/src/mem/mod.rs +++ b/library/core/src/mem/mod.rs @@ -898,8 +898,6 @@ pub const fn replace(dest: &mut T, src: T) -> T { /// Disposes of a value. /// -/// This does so by calling the argument's implementation of [`Drop`][drop]. -/// /// This effectively does nothing for types which implement `Copy`, e.g. /// integers. Such values are copied and _then_ moved into the function, so the /// value persists after this function call.