about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-02-05 19:57:28 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-02-05 19:57:28 -0500
commitccb513e582cf032dcc220eadd31aa36ac6179a7a (patch)
treea631f6f00756d744c9f3b7e061ec7f5062387c92 /src/libcore
parentfa28f023c23ce1c72d8a83478a0263dcc5083078 (diff)
downloadrust-ccb513e582cf032dcc220eadd31aa36ac6179a7a.tar.gz
rust-ccb513e582cf032dcc220eadd31aa36ac6179a7a.zip
Improve ptr::read docs
Fixes #21491
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 9c18cd0f6d9..ba1eae551ff 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -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