diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-12 10:55:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-12 10:55:03 +0100 |
| commit | a9c9a2c0484ceb8f6e8d6dc5cfa7b54e75f0019f (patch) | |
| tree | 44e5ac216f599a580c46c1f25293ffc1b22c291d /src/libcore | |
| parent | a61ebac367a5021c95a69d823a156318a88516e6 (diff) | |
| parent | 68b8b438c3dd641f187e59035589b498e231f4cc (diff) | |
| download | rust-a9c9a2c0484ceb8f6e8d6dc5cfa7b54e75f0019f.tar.gz rust-a9c9a2c0484ceb8f6e8d6dc5cfa7b54e75f0019f.zip | |
Rollup merge of #57433 - ecstatic-morse:issue-56610-bad-link, r=dtolnay
Add link destination for `read-ownership` Resolves #56610.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ptr.rs | 1 |
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 |
