Skip to content

Commit 455aa62

Browse files
committed
Rollup merge of #23033 - pelmers:patch-3, r=steveklabnik
I came across a couple of grammar mistakes when refreshing myself on enums.
2 parents 8a55fce + 299b594 commit 455aa62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/trpl/compound-data-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ strings, but next, let's talk about some more complicated ways of storing data.
66

77
## Tuples
88

9-
The first compound data type we're going to talk about are called *tuples*.
10-
Tuples are an ordered list of a fixed size. Like this:
9+
The first compound data type we're going to talk about is called the *tuple*.
10+
A tuple is an ordered list of fixed size. Like this:
1111

1212
```rust
1313
let x = (1, "hello");
@@ -229,7 +229,7 @@ enum Character {
229229
```
230230

231231
An `enum` variant can be defined as most normal types. Below are some example
232-
types have been listed which also would be allowed in an `enum`.
232+
types which also would be allowed in an `enum`.
233233

234234
```rust
235235
struct Empty;

0 commit comments

Comments
 (0)