cx,
SUSPICIOUS_OPERATION_GROUPINGS,
span,
- "This sequence of operators looks suspiciously like a bug.",
- "I think you meant",
+ "this sequence of operators looks suspiciously like a bug",
+ "did you mean",
sugg,
applicability,
- );
+ )
}
fn ident_swap_sugg(
impl AddAssign for IdentLocation {
fn add_assign(&mut self, other: Self) {
- *self = *self + other;
+ *self = *self + other
}
}
impl AddAssign for IdentDifference {
fn add_assign(&mut self, other: Self) {
- *self = *self + other;
+ *self = *self + other
}
}