We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 33d68e1 + e185cb9 commit 93137b0Copy full SHA for 93137b0
src/items/unions.md
@@ -55,7 +55,7 @@ let f = unsafe { u.f1 };
55
## Reading and writing union fields
56
57
Unions have no notion of an "active field". Instead, every union access just
58
-interprets the storage at the type of the field used for the access. Reading a
+interprets the storage as the type of the field used for the access. Reading a
59
union field reads the bits of the union at the field's type. Fields might have a
60
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
0 commit comments