We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
=
1 parent 49700e4 commit e39918fCopy full SHA for e39918f
1 file changed
crates/syntax/src/ast/operators.rs
@@ -111,10 +111,10 @@ impl fmt::Display for BinaryOp {
111
BinaryOp::ArithOp(op) => fmt::Display::fmt(op, f),
112
BinaryOp::CmpOp(op) => fmt::Display::fmt(op, f),
113
BinaryOp::Assignment { op } => {
114
- f.write_str("=")?;
115
if let Some(op) = op {
116
fmt::Display::fmt(op, f)?;
117
}
+ f.write_str("=")?;
118
Ok(())
119
120
0 commit comments