Skip to content

Commit

Permalink
Auto merge of #4926 - matthiaskrgr:rurstup_24, r=matthiaskrgr
Browse files Browse the repository at this point in the history
rustup rust-lang/rust#67455

changelog: none
  • Loading branch information
bors committed Dec 21, 2019
2 parents b4ad56e + e5a5b0a commit abdb277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/non_expressive_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit abdb277

Please sign in to comment.