Skip to content

Commit b0c39a1

Browse files
committed
This statement is misleading
1 parent 23f7081 commit b0c39a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/core/src/mem/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,6 @@ pub const fn replace<T>(dest: &mut T, src: T) -> T {
898898

899899
/// Disposes of a value.
900900
///
901-
/// This does so by calling the argument's implementation of [`Drop`][drop].
902-
///
903901
/// This effectively does nothing for types which implement `Copy`, e.g.
904902
/// integers. Such values are copied and _then_ moved into the function, so the
905903
/// value persists after this function call.

0 commit comments

Comments
 (0)