Revert "bitart: Fix display of unary on top of binary operation"
This reverts commit a2084c60fb.
This commit is contained in:
@@ -99,7 +99,7 @@ impl UnaryOperation {
|
|||||||
}
|
}
|
||||||
impl fmt::Display for UnaryOperation {
|
impl fmt::Display for UnaryOperation {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
write!(f, "{}({})", self.operator, self.operand)
|
write!(f, "{}{}", self.operator, self.operand)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user