diff options
Diffstat (limited to 'src/geom/align.rs')
| -rw-r--r-- | src/geom/align.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geom/align.rs b/src/geom/align.rs index d83c00b0..59960084 100644 --- a/src/geom/align.rs +++ b/src/geom/align.rs @@ -1,7 +1,7 @@ use super::*; /// Where to align something along an axis. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] +#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)] pub enum Align { /// Align at the start of the axis. Start, @@ -81,7 +81,7 @@ impl Default for Align { } } -impl Display for Align { +impl Debug for Align { fn fmt(&self, f: &mut Formatter) -> fmt::Result { f.pad(match self { Self::Start => "start", |
