clippy_utils::sugg

Function make_binop

source
pub fn make_binop(
    op: BinOpKind,
    lhs: &Sugg<'_>,
    rhs: &Sugg<'_>,
) -> Sugg<'static>
Expand description

Convenience wrapper around make_assoc and AssocOp::from_ast_binop.