We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ecb58d commit 7276ea7Copy full SHA for 7276ea7
src/items/unions.md
@@ -43,7 +43,7 @@ union field reads the bits of the union at the field's type. It is the
43
programmer's responsibility to make sure that the data is valid at that
44
type. Failing to do so results in undefined behavior. For example, reading the
45
value `3` at type `bool` is undefined behavior. Effectively, writing to and then
46
-reading from a union is equivalent to a [`transmute`] from the type used for
+reading from a union is analogous to a [`transmute`] from the type used for
47
writing to the type used for reading.
48
49
Consequently, all reads of union fields have to be placed in `unsafe` blocks:
0 commit comments