Skip to content

Commit 568f13a

Browse files
committed
Remove an almost-duplicated sentence.
It seems to refer to something that used to exist, but got moved, and then not everything got cleaned up.
1 parent 571f371 commit 568f13a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/doc/trpl/enums.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ fn process_color_change(msg: Message) {
5555
}
5656
```
5757

58-
Both variants are named `Digit`, but since they’re scoped to the `enum` name
59-
there's no ambiguity.
60-
6158
Not supporting these operations may seem rather limiting, but it’s a limitation
6259
which we can overcome. There are two ways: by implementing equality ourselves,
6360
or by pattern matching variants with [`match`][match] expressions, which you’ll

0 commit comments

Comments
 (0)