about summary refs log tree commit diff
path: root/src/libcore/fmt/rt/v1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/fmt/rt/v1.rs')
-rw-r--r--src/libcore/fmt/rt/v1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/fmt/rt/v1.rs b/src/libcore/fmt/rt/v1.rs
index 6b31e040622..ec7add9c375 100644
--- a/src/libcore/fmt/rt/v1.rs
+++ b/src/libcore/fmt/rt/v1.rs
@@ -31,7 +31,7 @@ pub struct FormatSpec {
 }
 
 /// Possible alignments that can be requested as part of a formatting directive.
-#[derive(Copy, Clone, PartialEq)]
+#[derive(Copy, Clone, PartialEq, Eq)]
 pub enum Alignment {
     /// Indication that contents should be left-aligned.
     Left,