Skip to content

Commit 811232f

Browse files
jswrennHavvy
authored andcommitted
"e.g." -> "for example"
Co-Authored-By: Ryan Scheel <[email protected]>
1 parent dd3c111 commit 811232f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/items/enumerations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ an `isize` value. However, the compiler is allowed to use a smaller type (or
6969
another means of distinguishing variants) in its actual memory layout.
7070

7171
If the [primitive representation] or the [`C` representation] is used, the
72-
leading bytes of a variant (e.g., two bytes if `#[repr(u16)]` is used), will
72+
leading bytes of a variant (for example, two bytes if `#[repr(u16)]` is used), will
7373
correspond exactly to the discriminant.
7474

7575
### Assigning Discriminant Values
@@ -95,7 +95,7 @@ enum Enum {
9595
</li>
9696
<li>
9797

98-
if a [primitive representation] is used; e.g.:
98+
if a [primitive representation] is used. For example:
9999

100100
```rust
101101
# #![feature(arbitrary_enum_discriminant)]

0 commit comments

Comments
 (0)