We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcf94de commit aa30dd4Copy full SHA for aa30dd4
compiler/rustc_ast/src/tokenstream.rs
@@ -224,7 +224,7 @@ impl AttrTokenStream {
224
// Inner attributes are only supported on extern blocks, functions,
225
// impls, and modules. All of these have their inner attributes
226
// placed at the beginning of the rightmost outermost braced group:
227
- // e.g. fn foo() { #![my_attr} }
+ // e.g. fn foo() { #![my_attr] }
228
//
229
// Therefore, we can insert them back into the right location
230
// without needing to do any extra position tracking.
0 commit comments