From ccb513e582cf032dcc220eadd31aa36ac6179a7a Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 5 Feb 2015 19:57:28 -0500 Subject: [PATCH] Improve ptr::read docs Fixes #21491 --- src/libcore/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 9c18cd0f6d9af..ba1eae551ff2a 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -190,7 +190,7 @@ pub unsafe fn replace(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