about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2019-01-07 21:03:41 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2019-01-07 21:03:41 -0800
commit68b8b438c3dd641f187e59035589b498e231f4cc (patch)
treed8975db1c92e39465f91a728d343af1b37410b0b /src
parent8e2063d02062ee9f088274690a97826333847e17 (diff)
downloadrust-68b8b438c3dd641f187e59035589b498e231f4cc.tar.gz
rust-68b8b438c3dd641f187e59035589b498e231f4cc.zip
Add link destination for `read-ownership`
Diffstat (limited to 'src')
-rw-r--r--src/libcore/ptr.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 55a72d7a9a9..02eef07afd7 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -849,6 +849,7 @@ pub unsafe fn write_unaligned<T>(dst: *mut T, src: T) {
 /// [valid]: ../ptr/index.html#safety
 /// [`Copy`]: ../marker/trait.Copy.html
 /// [`read`]: ./fn.read.html
+/// [read-ownership]: ./fn.read.html#ownership-of-the-returned-value
 ///
 /// Just like in C, whether an operation is volatile has no bearing whatsoever
 /// on questions involving concurrent access from multiple threads. Volatile