Skip to content

Commit dd77681

Browse files
authored
Merge pull request #2172 from fourplusone/patch-1
Correct URL to reference
2 parents bc430eb + 3a78bea commit dd77681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/1444-union.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ require explicitly specifying them.
277277
## Unions and undefined behavior
278278

279279
Rust code must not use unions to invoke [undefined
280-
behavior](https://doc.rust-lang.org/nightly/reference.html#behavior-considered-undefined).
280+
behavior](https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html).
281281
In particular, Rust code must not use unions to break the pointer aliasing
282282
rules with raw pointers, or access a field containing a primitive type with an
283283
invalid value.

0 commit comments

Comments
 (0)