commit | 3d9d6ad4897b0038905cf8a5c7d4d0b1b738193d | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Fri May 18 10:51:55 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Fri May 18 10:51:55 2018 -0700 |
tree | 796640ddfd02e1608fb37e15fb2e2f200d7b900d | |
parent | de57017f6ad555ad675f6528af78e38c23c6e4b7 [diff] [blame] |
Format with rustfmt 0.7.0
diff --git a/src/lib.rs b/src/lib.rs index c723b44..3a059e6 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -516,13 +516,12 @@ } impl PartialEq for Ident { - fn eq(&self, other: &Ident) -> bool{ + fn eq(&self, other: &Ident) -> bool { self.to_string() == other.to_string() } } -impl Eq for Ident { -} +impl Eq for Ident {} impl PartialOrd for Ident { fn partial_cmp(&self, other: &Ident) -> Option<Ordering> {