]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/mem/mod.rs
Clean up E0207 explanation
[rust.git] / src / libcore / mem / mod.rs
index e11072db0dcc63c096ead6b7af5d487961c0a4d6..9eb151cf528a5c3cfea721e5a80ee18fa97fea9b 100644 (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
 ///