Rollup merge of #67825 - petertodd:2020-mem-take-grammar, r=steveklabnik
Minor: change take() docs grammar to match other docs Eg. mem::replace()
This commit is contained in:
commit
14c96ce48c
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
|
|||
}
|
||||
}
|
||||
|
||||
/// Replace `dest` with the default value of `T`, and return the previous `dest` value.
|
||||
/// Replaces `dest` with the default value of `T`, returning the previous `dest` value.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue