Merge pull request #512 from azaleacolburn/remove-unsafe-guidelines

Remove references to outdated unsafe code guidelines
master
Yuki Okushi 13 hours ago committed by GitHub
commit 9fe8fa599a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,7 +1,6 @@
# Alternative representations # Alternative representations
Rust allows you to specify alternative data layout strategies from the default. Rust allows you to specify alternative data layout strategies from the default.
There's also the [unsafe code guidelines] (note that it's **NOT** normative).
## repr(C) ## repr(C)
@ -160,7 +159,6 @@ kinds of concurrent code).
This is a modifier on `repr(C)` and `repr(Rust)`. It is incompatible with This is a modifier on `repr(C)` and `repr(Rust)`. It is incompatible with
`repr(packed)`. `repr(packed)`.
[unsafe code guidelines]: https://rust-lang.github.io/unsafe-code-guidelines/layout.html
[drop flags]: drop-flags.html [drop flags]: drop-flags.html
[ub loads]: https://github.com/rust-lang/rust/issues/27060 [ub loads]: https://github.com/rust-lang/rust/issues/27060
[issue-60405]: https://github.com/rust-lang/rust/issues/60405 [issue-60405]: https://github.com/rust-lang/rust/issues/60405

Loading…
Cancel
Save