Skip to content

Commit 5b10d59

Browse files
authored
Fix small typo on enums.md
Replaced 'preivous' with 'previous'
1 parent 823ed27 commit 5b10d59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/src/layout/enums.md

Lines changed: 1 addition & 1 deletion
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)