Skip to content

Commit

Permalink
Fix mistake in merging
Browse files Browse the repository at this point in the history
  • Loading branch information
cgm616 committed Oct 28, 2017
1 parent d094f98 commit 85683bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods.rs
Expand Up @@ -735,7 +735,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
let name = implitem.name;
let parent = cx.tcx.hir.get_parent(implitem.id);
let item = cx.tcx.hir.expect_item(parent);
if_chain! {[
if_chain! {
if let hir::ImplItemKind::Method(ref sig, id) = implitem.node;
if let Some(first_arg_ty) = sig.decl.inputs.get(0);
if let Some(first_arg) = iter_input_pats(&sig.decl, cx.tcx.hir.body(id)).next();
Expand Down

0 comments on commit 85683bf

Please sign in to comment.