Minor: change take() docs grammar to match other docs
Eg. mem::replace()
This commit is contained in:
parent
0a58f58646
commit
4a48818433
@ -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…
x
Reference in New Issue
Block a user