]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #9836 - koka831:patch-9300, r=Alexendoo
authorbors <bors@rust-lang.org>
Sat, 12 Nov 2022 20:54:39 +0000 (20:54 +0000)
committerbors <bors@rust-lang.org>
Sat, 12 Nov 2022 20:54:39 +0000 (20:54 +0000)
Fix is_async_fn to check FnKind::Method

This is a follow-up PR of https://github.com/rust-lang/rust-clippy/pull/9828 to support also async methods.

changelog: [`cognitive_complexity`] support async method

r? `@Alexendoo`


Trivial merge