Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bc32be0

Browse files
committed
Remove comment
1 parent c654cc5 commit bc32be0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clippy_lints/src/trailing_zero_sized_array_without_repr.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,5 @@ fn is_struct_with_trailing_zero_sized_array(cx: &LateContext<'tcx>, item: &'tcx
7373
}
7474

7575
fn has_repr_attr(cx: &LateContext<'tcx>, hir_id: HirId) -> bool {
76-
// NOTE: there's at least four other ways to do this but I liked this one the best. (All five agreed
77-
// on all testcases.) Happy to use another;
78-
// they're in the commit history if you want to look (or I can go find them).
7976
cx.tcx.hir().attrs(hir_id).iter().any(|attr| attr.has_name(sym::repr))
8077
}

0 commit comments

Comments
 (0)