about summary refs log tree commit diff
path: root/src/libcore/fmt
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-12 21:37:41 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-18 14:26:49 +0200
commitb4c739dbdd028277c17c90ebf613c520433622d1 (patch)
tree111f31915bb7b904e65e05f0545eb877d0e2e74c /src/libcore/fmt
parent888970370a3f4b9e8be399869581422c67638d7b (diff)
Add missing Eq implementations
Diffstat (limited to 'src/libcore/fmt')
-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,