Skip to main content

write_binary_operand

Function write_binary_operand 

Source
fn write_binary_operand<W: Write, T: AstInfo>(
    f: &mut AstFormatter<W>,
    operand: &Expr<T>,
    needs_parens: bool,
)
Expand description

Write operand for a binary operator, parenthesizing it iff needs_parens.