Minor: change take() docs grammar to match other docs

Eg. mem::replace()
This commit is contained in:
Peter Todd 2020-01-03 00:40:04 -05:00
parent 0a58f58646
commit 4a48818433
No known key found for this signature in database
GPG Key ID: 2481403DA5F091FB

View File

@ -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
///