Skip to content

Commit 36661ec

Browse files
authored
Merge pull request #361 from makeusabrew/patch-1
Fix small typo on enums.md
2 parents 823ed27 + 5b10d59 commit 36661ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/src/layout/enums.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ variants.
220220
This layout, while more compatible and arguably more obvious, is also
221221
less efficient than the non-C compatible layout in some cases in terms
222222
of total size. For example, the `TwoCases` example given in the
223-
preivous section only occupies 4 bytes with `#[repr(u8)]`, but would
223+
previous section only occupies 4 bytes with `#[repr(u8)]`, but would
224224
occupy 6 bytes with `#[repr(C, u8)]`, as more padding is required.
225225

226226
**Example.** The following enum:

0 commit comments

Comments
 (0)