Skip to content

Commit a022d47

Browse files
phanschavborhanian
andauthored
Update clippy_lints/src/types.rs
Co-Authored-By: avborhanian <avborhanian@gmail.com>
1 parent 6e35b33 commit a022d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ fn match_type_parameter(cx: &LateContext<'_, '_>, qpath: &QPath, path: &[&str])
241241
/// The parameter `is_local` distinguishes the context of the type; types from
242242
/// local bindings should only be checked for the `BORROWED_BOX` lint.
243243
#[allow(clippy::too_many_lines)]
244-
fn check_ty(cx: &LateContext<'_, '_>, ast_ty: &hir::Ty, is_local: bool) {
244+
fn check_ty(cx: &LateContext<'_, '_>, hir_ty: &hir::Ty, is_local: bool) {
245245
if in_macro(ast_ty.span) {
246246
return;
247247
}

0 commit comments

Comments
 (0)