rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k stars 1.46k forks source link

[arithmetic_side_effects] Fix #12318 #12692

Closed c410-f3r closed 3 weeks ago

c410-f3r commented 3 weeks ago

Fix #12318

changelog: [arithmetic_side_effects]: Consider method calls that correspond to arithmetic symbols

rustbot commented 3 weeks ago

r? @Manishearth

rustbot has assigned @Manishearth. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

c410-f3r commented 3 weeks ago

ping @Manishearth

Manishearth commented 3 weeks ago

@bors r+

oops

bors commented 3 weeks ago

:pushpin: Commit 2a4dae368c109d0029e12787a78b6c028b61ca08 has been approved by Manishearth

It is now in the queue for this repository.

bors commented 3 weeks ago

:hourglass: Testing commit 2a4dae368c109d0029e12787a78b6c028b61ca08 with merge 7fcaa60efdb3ce2c612704f36400edcbefbc5713...

bors commented 3 weeks ago

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: Manishearth Pushing 7fcaa60efdb3ce2c612704f36400edcbefbc5713 to master...