From 7d6956ea576ade95d14c161fa2aae75a81863c85 Mon Sep 17 00:00:00 2001 From: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> Date: Tue, 6 May 2025 16:27:36 +0900 Subject: [PATCH] Update crates/hir-expand/src/attrs.rs Co-authored-by: Lukas Wirth --- crates/hir-expand/src/attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir-expand/src/attrs.rs b/crates/hir-expand/src/attrs.rs index 9eac5c2c72..5fe95f3043 100644 --- a/crates/hir-expand/src/attrs.rs +++ b/crates/hir-expand/src/attrs.rs @@ -466,7 +466,7 @@ pub fn collect_attrs( Either::Left(attr) => attr.kind().is_outer(), Either::Right(comment) => comment.is_outer(), }) - .map(|attr| (attr, false)); + .zip(iter::repeat(false)); outer_attrs .chain(inner_attrs) .enumerate()