外觀
https://rust-lang.github.io/rust-clippy/master/#/misrefactored_assign_op
檢查 a op= a op b 或 a op= b op a 模式。
a op= a op b
a op= b op a
這很可能是程式錯誤,原本應該寫成 a op= b。
a op= b
此規則的不正確程式碼範例
a += a + b; a -= a - b;
此規則的正確程式碼範例
a += b; a -= b;