From 7b0906b2e96fee11544c55ee56228bab782f1401 Mon Sep 17 00:00:00 2001 From: alamb Date: Mon, 8 Jun 2020 06:04:34 -0400 Subject: [PATCH] Fix small typo in docs for std::mem::drop --- src/libcore/mem/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs index 010f2958e36b9..d1f5cb44913db 100644 --- a/src/libcore/mem/mod.rs +++ b/src/libcore/mem/mod.rs @@ -808,7 +808,7 @@ pub fn replace(dest: &mut T, mut src: T) -> T { /// Disposes of a value. /// -/// This does call the argument's implementation of [`Drop`][drop]. +/// 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