clippy_utils::higher

Function binop

Source
pub fn binop(op: BinOpKind) -> BinOpKind
Expand description

Converts a hir binary operator to the corresponding ast type.