Skip to content

Commit 422b616

Browse files
Fix broken link in write_unaligned docs
1 parent 6eceb94 commit 422b616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ pub unsafe fn write<T>(dst: *mut T, src: T) {
592592
/// location pointed to by `dst`.
593593
///
594594
/// This is appropriate for initializing uninitialized memory, or overwriting
595-
/// memory that has previously been [`read`] from.
595+
/// memory that has previously been read with [`read_unaligned`].
596596
///
597597
/// [`write`]: ./fn.write.html
598598
/// [`read_unaligned`]: ./fn.read_unaligned.html

0 commit comments

Comments
 (0)