clippy_utils::sugg

Function hirbinop2assignop

Source
fn hirbinop2assignop(op: BinOp) -> AssocOp
Expand description

Converts a hir::BinOp to the corresponding assigning binary operator.