From 568f13ac7008db205dbd21dc5615614e3fc63b24 Mon Sep 17 00:00:00 2001 From: Aaron Gallagher <_@habnab.it> Date: Thu, 14 May 2015 17:04:00 -0700 Subject: [PATCH] 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. --- src/doc/trpl/enums.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/doc/trpl/enums.md b/src/doc/trpl/enums.md index ad15d19eae143..9f6137b3fedd0 100644 --- a/src/doc/trpl/enums.md +++ b/src/doc/trpl/enums.md @@ -55,9 +55,6 @@ fn process_color_change(msg: Message) { } ``` -Both variants are named `Digit`, but since they’re scoped to the `enum` name -there's no ambiguity. - Not supporting these operations may seem rather limiting, but it’s a limitation which we can overcome. There are two ways: by implementing equality ourselves, or by pattern matching variants with [`match`][match] expressions, which you’ll