We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39a68a1 + 4a48818 commit 14c96ceCopy full SHA for 14c96ce
src/libcore/mem/mod.rs
@@ -557,7 +557,7 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
557
}
558
559
560
-/// 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.
561
///
562
/// # Examples
563
0 commit comments