Skip to content

Commit bbf06ad

Browse files
authored
Merge pull request #255 from cherryblossom000/patch-1
Fix alloc link in exotic-sizes for local docs
2 parents 1713e9f + 7278a42 commit bbf06ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exotic-sizes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ references, must be non-null and suitably aligned. Dereferencing a null or
118118
unaligned pointer to a ZST is [undefined behavior][ub], just like for any other
119119
type.
120120

121-
[alloc]: https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.alloc
121+
[alloc]: ../std/alloc/trait.GlobalAlloc.html#tymethod.alloc
122122
[ub]: what-unsafe-does.html
123123

124124

0 commit comments

Comments
 (0)