Skip to content

Commit 674e10e

Browse files
HmikihiroVeykril
andcommitted
Update crates/hir-expand/src/attrs.rs
Co-authored-by: Lukas Wirth <[email protected]>
1 parent b9a3e70 commit 674e10e

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-expand/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/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)