Skip to content

Commit 36c30a9

Browse files
committed
Fix comment.
Both the indenting, and the missing `)`.
1 parent 7416c20 commit 36c30a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_parse/src/parser/attr_wrapper.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ impl<'a> Parser<'a> {
233233
// 1. Our target doesn't support tokens at all (e.g we're parsing an `NtIdent`)
234234
// so there's nothing for us to do.
235235
// 2. Our target already has tokens set (e.g. we've parsed something
236-
// like `#[my_attr] $item`. The actual parsing code takes care of prepending
237-
// any attributes to the nonterminal, so we don't need to modify the
238-
// already captured tokens.
236+
// like `#[my_attr] $item`). The actual parsing code takes care of
237+
// prepending any attributes to the nonterminal, so we don't need to
238+
// modify the already captured tokens.
239239
// Note that this check is independent of `force_collect`- if we already
240240
// have tokens, or can't even store them, then there's never a need to
241241
// force collection of new tokens.

0 commit comments

Comments
 (0)