Merge pull request #255 from cherryblossom000/patch-1

Fix alloc link in exotic-sizes for local docs
pull/263/head
Eric Huss 4 years ago committed by GitHub
commit bbf06ad39d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,7 +118,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
type.
[alloc]: https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.alloc
[alloc]: ../std/alloc/trait.GlobalAlloc.html#tymethod.alloc
[ub]: what-unsafe-does.html

Loading…
Cancel
Save