Fix small typo in docs for std::mem::drop
This commit is contained in:
parent
7355816093
commit
7b0906b2e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue