rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

or_fun_call: also lint `and` method for Option/Result

Open klensy opened this issue 4 months ago • 0 comments

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

klensy avatar Jun 18 '25 08:06 klensy