Update exotic-sizes.md

pull/464/head
nomicon-kr 11 months ago committed by GitHub
parent 86ef9ab43a
commit bec016c842
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -105,7 +105,7 @@ references, must be non-null and suitably aligned. Dereferencing a null or
unaligned pointer to a ZST is [undefined behavior][ub], just like for any other unaligned pointer to a ZST is [undefined behavior][ub], just like for any other
type. type.
[alloc]: ../std/alloc/trait.GlobalAlloc.html#tymethod.alloc [alloc]: https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.alloc
[ub]: what-unsafe-does.html [ub]: what-unsafe-does.html
## Empty Types ## Empty Types
@ -172,5 +172,5 @@ should behave][extern-types-issue].
[extern-types]: https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md [extern-types]: https://github.com/rust-lang/rfcs/blob/master/text/1861-extern-types.md
[extern-types-issue]: https://github.com/rust-lang/rust/issues/43467 [extern-types-issue]: https://github.com/rust-lang/rust/issues/43467
[`str`]: ../std/primitive.str.html [`str`]: https://doc.rust-lang.org/std/primitive.str.html
[slice]: ../std/primitive.slice.html [slice]: https://doc.rust-lang.org/std/primitive.slice.html

Loading…
Cancel
Save