Skip to content

Commit e64df31

Browse files
committed
Acquiesce to Centril's hatred of one
1 parent 6278421 commit e64df31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-enum-variant-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ variants. However, the variant types act identically to the enum type in the maj
5757

5858
Specifically, variant types act differently to enum types in the following case:
5959
- When pattern-matching on a variant type, only the constructor corresponding to the variant is
60-
considered possible. Therefore one may irrefutably pattern-match on a variant:
60+
considered possible. Therefore you may irrefutably pattern-match on a variant:
6161

6262
```rust
6363
enum Sum { A(u32), B, C }
@@ -67,7 +67,7 @@ fn print_A(a: Sum::A) {
6767
println!("a is {}", a);
6868
}
6969
```
70-
- One can project the fields of a variant type, similarly to tuples or structs:
70+
- You may project the fields of a variant type, similarly to tuples or structs:
7171

7272
```rust
7373
fn print_A(a: Sum::A) {

0 commit comments

Comments
 (0)