summaryrefslogtreecommitdiff
path: root/src/engine/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/command.rs')
-rw-r--r--src/engine/command.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/engine/command.rs b/src/engine/command.rs
index 603ee42..eab98c1 100644
--- a/src/engine/command.rs
+++ b/src/engine/command.rs
@@ -9,11 +9,9 @@ pub enum Command {
impl fmt::Display for Command {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- use Command::*;
-
match self {
- &Nothing => write!(f, ""),
- &Build(p, b) => write!(f, "{},{},{}", p.x, p.y, b as u8),
+ &Command::Nothing => write!(f, ""),
+ &Command::Build(p, b) => write!(f, "{},{},{}", p.x, p.y, b as u8),
}
}
}