diff options
Diffstat (limited to 'src/lib/types.rs')
-rw-r--r-- | src/lib/types.rs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/types.rs b/src/lib/types.rs index 6b17b26..0cf8b6d 100644 --- a/src/lib/types.rs +++ b/src/lib/types.rs @@ -18,16 +18,16 @@ pub enum Op { impl fmt::Display for Op { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { match self { - &Op::Add => write!(f, "+"), - &Op::Sub => write!(f, "-"), - &Op::Mul => write!(f, "*"), - &Op::Div => write!(f, "/"), - &Op::Modulo => write!(f, "%"), - &Op::Equals => write!(f, "="), - &Op::Greater => write!(f, ">"), - &Op::GrEqTo => write!(f, ">="), - &Op::Less => write!(f, "<"), - &Op::LsEqTo => write!(f, "<="), + Op::Add => write!(f, "+"), + Op::Sub => write!(f, "-"), + Op::Mul => write!(f, "*"), + Op::Div => write!(f, "/"), + Op::Modulo => write!(f, "%"), + Op::Equals => write!(f, "="), + Op::Greater => write!(f, ">"), + Op::GrEqTo => write!(f, ">="), + Op::Less => write!(f, "<"), + Op::LsEqTo => write!(f, "<="), } } } |