mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Auto merge of #4926 - matthiaskrgr:rurstup_24, r=matthiaskrgr
rustup https://github.com/rust-lang/rust/pull/67455 changelog: none
This commit is contained in:
commit
abdb277a85
1 changed files with 2 additions and 2 deletions
|
@ -358,8 +358,8 @@ impl EarlyLintPass for NonExpressiveNames {
|
|||
}
|
||||
}
|
||||
|
||||
fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &ImplItem) {
|
||||
if let ImplItemKind::Method(ref sig, ref blk) = item.kind {
|
||||
fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &AssocItem) {
|
||||
if let AssocItemKind::Fn(ref sig, Some(ref blk)) = item.kind {
|
||||
do_check(self, cx, &item.attrs, &sig.decl, blk);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue