]> git.lizzy.rs Git - rust.git/commitdiff
Improve ptr::read docs
authorSteve Klabnik <steve@steveklabnik.com>
Fri, 6 Feb 2015 00:57:28 +0000 (19:57 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Fri, 6 Feb 2015 00:57:28 +0000 (19:57 -0500)
Fixes #21491

src/libcore/ptr.rs

index 9c18cd0f6d9af0cc9d3dac1c4313ba2492aaf973..ba1eae551ff2a15f9dba0fa52253c0b10b346dbd 100644 (file)
@@ -190,7 +190,7 @@ pub unsafe fn replace<T>(dest: *mut T, mut src: T) -> T {
     src
 }
 
-/// Reads the value from `src` without dropping it. This leaves the
+/// Reads the value from `src` without moving it. This leaves the
 /// memory in `src` unchanged.
 ///
 /// # Safety