rust-clippy
rust-clippy copied to clipboard
or_fun_call: also lint `and` method for Option/Result
build on top of rust-lang/rust-clippy#15071
This also adds ability to lint Option/Result::and method. Yes, this is not or method, but uses the same eager/lazy linting logic. Should i update lint description to list all checked structs/methods?
changelog: [or_fun_call]: lint Option/Result::and