Function clippy_utils::sugg::needs_paren

source ·
fn needs_paren(op: AssocOp, other: AssocOp, dir: Associativity) -> bool
Expand description

Returns true if the operator op needs parenthesis with the operator other in the direction dir.