summaryrefslogtreecommitdiff
path: root/src/geom/dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom/dir.rs')
-rw-r--r--src/geom/dir.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geom/dir.rs b/src/geom/dir.rs
index 7b224b55..d95c7eb9 100644
--- a/src/geom/dir.rs
+++ b/src/geom/dir.rs
@@ -1,7 +1,7 @@
use super::*;
/// The four directions into which content can be laid out.
-#[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)]
+#[derive(Copy, Clone, Eq, PartialEq, Hash)]
pub enum Dir {
/// Left to right.
LTR,
@@ -71,7 +71,7 @@ impl Dir {
}
}
-impl Display for Dir {
+impl Debug for Dir {
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
f.pad(match self {
Self::LTR => "ltr",