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, 3 insertions, 3 deletions
diff --git a/src/engine/command.rs b/src/engine/command.rs
index c2edb81..17dbd5a 100644
--- a/src/engine/command.rs
+++ b/src/engine/command.rs
@@ -9,9 +9,9 @@ pub enum Command {
impl fmt::Display for Command {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- match self {
- &Command::Nothing => write!(f, ""),
- &Command::Build(p, b) => write!(f, "{},{},{}", p.x, p.y, b as u8),
+ match *self {
+ Command::Nothing => write!(f, ""),
+ Command::Build(p, b) => write!(f, "{},{},{}", p.x, p.y, b as u8),
}
}
}