We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 823ed27 + 5b10d59 commit 36661ecCopy full SHA for 36661ec
reference/src/layout/enums.md
@@ -220,7 +220,7 @@ variants.
220
This layout, while more compatible and arguably more obvious, is also
221
less efficient than the non-C compatible layout in some cases in terms
222
of total size. For example, the `TwoCases` example given in the
223
-preivous section only occupies 4 bytes with `#[repr(u8)]`, but would
+previous section only occupies 4 bytes with `#[repr(u8)]`, but would
224
occupy 6 bytes with `#[repr(C, u8)]`, as more padding is required.
225
226
**Example.** The following enum:
0 commit comments