We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93137b0 + 945a2bd commit 846bdbbCopy full SHA for 846bdbb
src/items/unions.md
@@ -61,7 +61,7 @@ non-zero offset (except when [the C representation] is used); in that case the
61
bits starting at the offset of the fields are read. It is the programmer's
62
responsibility to make sure that the data is valid at the field's type. Failing
63
to do so results in [undefined behavior]. For example, reading the value `3`
64
-through of a field of the [boolean type] is undefined behavior. Effectively,
+from a field of the [boolean type] is undefined behavior. Effectively,
65
writing to and then reading from a union with [the C representation] is
66
analogous to a [`transmute`] from the type used for writing to the type used for
67
reading.
0 commit comments