Skip to content

Commit 041c46e

Browse files
authored
Merge pull request #175 from JohnTitor/update-link
Update unsafe-code-guidelines link
2 parents 58e36e0 + 4f29478 commit 041c46e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/other-reprs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Alternative representations
22

33
Rust allows you to specify alternative data layout strategies from the default.
4-
There's also the [reference].
4+
There's also the [unsafe code guidelines] (note that it's **NOT** normative).
55

66

77

@@ -143,7 +143,7 @@ This is a modifier on `repr(C)` and `repr(rust)`. It is incompatible with
143143

144144

145145

146-
[reference]: https://github.com/rust-rfcs/unsafe-code-guidelines/tree/master/reference/src/representation.md
146+
[unsafe code guidelines]: https://rust-lang.github.io/unsafe-code-guidelines/layout.html
147147
[drop flags]: drop-flags.html
148148
[ub loads]: https://github.com/rust-lang/rust/issues/27060
149149
[`UnsafeCell`]: ../std/cell/struct.UnsafeCell.html

0 commit comments

Comments
 (0)