Skip to content

Commit

Permalink
Update clippy_lints/src/types.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: avborhanian <[email protected]>
  • Loading branch information
2 people authored and Grzegorz committed Feb 7, 2019
1 parent a5c5592 commit d706238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str])
/// local bindings should only be checked for the `BORROWED_BOX` lint.
#[allow(clippy::too_many_lines)]
fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
if in_macro(ast_ty.span) {
if in_macro(hir_ty.span) {
return;
}
match hir_ty.node {
Expand Down

0 comments on commit d706238

Please sign in to comment.