Rollup merge of #21989 - steveklabnik:gh21491, r=Gankro

Fixes #21491

r? @kmcallister @Gankro
This commit is contained in:
Manish Goregaokar 2015-02-06 07:07:04 +05:30
commit c4e12c1536

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