We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f7081 commit b0c39a1Copy full SHA for b0c39a1
1 file changed
library/core/src/mem/mod.rs
@@ -898,8 +898,6 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
898
899
/// Disposes of a value.
900
///
901
-/// This does so by calling the argument's implementation of [`Drop`][drop].
902
-///
903
/// This effectively does nothing for types which implement `Copy`, e.g.
904
/// integers. Such values are copied and _then_ moved into the function, so the
905
/// value persists after this function call.
0 commit comments