Improve ptr::read docs

Fixes #21491
This commit is contained in:
Steve Klabnik
2015-02-05 19:57:28 -05:00
parent fa28f023c2
commit ccb513e582

View 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