We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a3e70 commit 674e10eCopy full SHA for 674e10e
src/tools/rust-analyzer/crates/hir-expand/src/attrs.rs
@@ -466,7 +466,7 @@ pub fn collect_attrs(
466
Either::Left(attr) => attr.kind().is_outer(),
467
Either::Right(comment) => comment.is_outer(),
468
})
469
- .map(|attr| (attr, false));
+ .zip(iter::repeat(false));
470
outer_attrs
471
.chain(inner_attrs)
472
.enumerate()
0 commit comments