Skip to content

Commit 7b0906b

Browse files
committed
Fix small typo in docs for std::mem::drop
1 parent 7355816 commit 7b0906b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/mem/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ pub fn replace<T>(dest: &mut T, mut src: T) -> T {
808808

809809
/// Disposes of a value.
810810
///
811-
/// This does call the argument's implementation of [`Drop`][drop].
811+
/// This does so by calling the argument's implementation of [`Drop`][drop].
812812
///
813813
/// This effectively does nothing for types which implement `Copy`, e.g.
814814
/// integers. Such values are copied and _then_ moved into the function, so the

0 commit comments

Comments
 (0)