diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-15 15:23:49 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-24 09:44:19 +1000 |
| commit | aa30dd444b00248065d9c286527bf9168c9cfb4b (patch) | |
| tree | 04419243b8a23d6d4d7e782879e98e2f86d6c42f | |
| parent | bcf94dec5ba6838e435902120c0384c360126a26 (diff) | |
| download | rust-aa30dd444b00248065d9c286527bf9168c9cfb4b.tar.gz rust-aa30dd444b00248065d9c286527bf9168c9cfb4b.zip | |
Fix a typo in a comment.
| -rw-r--r-- | compiler/rustc_ast/src/tokenstream.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/tokenstream.rs b/compiler/rustc_ast/src/tokenstream.rs index 3d46415507d..b4ddbe20689 100644 --- a/compiler/rustc_ast/src/tokenstream.rs +++ b/compiler/rustc_ast/src/tokenstream.rs @@ -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. |
