Skip to content

Commit 846bdbb

Browse files
authored
Merge pull request #1339 from tshepang/patch-2
fix typo
2 parents 93137b0 + 945a2bd commit 846bdbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/unions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ non-zero offset (except when [the C representation] is used); in that case the
6161
bits starting at the offset of the fields are read. It is the programmer's
6262
responsibility to make sure that the data is valid at the field's type. Failing
6363
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,
64+
from a field of the [boolean type] is undefined behavior. Effectively,
6565
writing to and then reading from a union with [the C representation] is
6666
analogous to a [`transmute`] from the type used for writing to the type used for
6767
reading.

0 commit comments

Comments
 (0)