]> git.lizzy.rs Git - rust.git/commitdiff
Fix broken link in `write_unaligned` docs
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Sun, 8 Apr 2018 00:28:10 +0000 (17:28 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Sun, 8 Apr 2018 00:28:10 +0000 (17:28 -0700)
src/libcore/ptr.rs

index 4cb9c655441d917401732a2bfad578f50fd8f052..c679a1a2456b1637035c42f7257ad068a0cbb5ea 100644 (file)
@@ -592,7 +592,7 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
 /// location pointed to by `dst`.
 ///
 /// This is appropriate for initializing uninitialized memory, or overwriting
-/// memory that has previously been [`read`] from.
+/// memory that has previously been read with [`read_unaligned`].
 ///
 /// [`write`]: ./fn.write.html
 /// [`read_unaligned`]: ./fn.read_unaligned.html