diff options
| author | alamb <andrew@nerdnetworks.org> | 2020-06-08 06:04:34 -0400 |
|---|---|---|
| committer | alamb <andrew@nerdnetworks.org> | 2020-06-08 06:04:34 -0400 |
| commit | 7b0906b2e96fee11544c55ee56228bab782f1401 (patch) | |
| tree | 7709ffc2661d95b176746978eb9a49bfa2015c26 /src/libcore | |
| parent | 73558160933b2764ed9a84b1b2b647e128eac3f8 (diff) | |
Fix small typo in docs for std::mem::drop
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/mem/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/mem/mod.rs b/src/libcore/mem/mod.rs index 010f2958e36..d1f5cb44913 100644 --- a/src/libcore/mem/mod.rs +++ b/src/libcore/mem/mod.rs @@ -808,7 +808,7 @@ pub fn replace<T>(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 |
