diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-03-22 16:30:45 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-03-23 01:59:11 -0400 |
| commit | 3829ac2a52f12b08501cb25d82de32f39fbe801e (patch) | |
| tree | e9d59ed4a26c120d9aa26510a2b4e85516a3dc52 /src/libstd/fmt | |
| parent | 94e4e917243425f15241e3dcc9b1bcd4b11ebf3e (diff) | |
| download | rust-3829ac2a52f12b08501cb25d82de32f39fbe801e.tar.gz rust-3829ac2a52f12b08501cb25d82de32f39fbe801e.zip | |
use TotalEq for HashMap
Closes #5283
Diffstat (limited to 'src/libstd/fmt')
| -rw-r--r-- | src/libstd/fmt/parse.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/fmt/parse.rs b/src/libstd/fmt/parse.rs index 948f85ca1c2..67088e6f4f8 100644 --- a/src/libstd/fmt/parse.rs +++ b/src/libstd/fmt/parse.rs @@ -121,7 +121,7 @@ pub enum Method<'a> { } /// A selector for what pluralization a plural method should take -#[deriving(Eq, Hash)] +#[deriving(Eq, TotalEq, Hash)] pub enum PluralSelector { /// One of the plural keywords should be used Keyword(PluralKeyword), @@ -143,7 +143,7 @@ pub struct PluralArm<'a> { /// specially placed in the `Plural` variant of `Method` /// /// http://www.icu-project.org/apiref/icu4c/classicu_1_1PluralRules.html -#[deriving(Eq, Hash)] +#[deriving(Eq, TotalEq, Hash)] #[allow(missing_doc)] pub enum PluralKeyword { Zero, One, Two, Few, Many |
