Fix a typo in a comment.

This commit is contained in:
Nicholas Nethercote 2024-05-15 15:23:49 +10:00
parent bcf94dec5b
commit aa30dd444b

View File

@ -224,7 +224,7 @@ impl AttrTokenStream {
// Inner attributes are only supported on extern blocks, functions,
// impls, and modules. All of these have their inner attributes
// placed at the beginning of the rightmost outermost braced group:
// e.g. fn foo() { #![my_attr} }
// e.g. fn foo() { #![my_attr] }
//
// Therefore, we can insert them back into the right location
// without needing to do any extra position tracking.