Skip to content

Commit 7d6956e

Browse files
HmikihiroVeykril
andcommitted
Update crates/hir-expand/src/attrs.rs
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
1 parent b786f98 commit 7d6956e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-expand/src/attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ pub fn collect_attrs(
466466
Either::Left(attr) => attr.kind().is_outer(),
467467
Either::Right(comment) => comment.is_outer(),
468468
})
469-
.map(|attr| (attr, false));
469+
.zip(iter::repeat(false));
470470
outer_attrs
471471
.chain(inner_attrs)
472472
.enumerate()

0 commit comments

Comments
 (0)