about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-06-27 10:34:05 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-02 10:46:43 +1000
commitd6c0b8117e4ccccd83c4a6e70eee8b12c51d1a18 (patch)
tree63b84e17ef072a16a6a84ecab5df74af501b552a /compiler/rustc_parse/src/parser
parent1680b791d57013ca2cf5839a279e3d4d826c336c (diff)
downloadrust-d6c0b8117e4ccccd83c4a6e70eee8b12c51d1a18.tar.gz
rust-d6c0b8117e4ccccd83c4a6e70eee8b12c51d1a18.zip
Fix a typo in a comment.
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/attr_wrapper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/attr_wrapper.rs b/compiler/rustc_parse/src/parser/attr_wrapper.rs
index b5480b6b7d2..4b1531c5ff3 100644
--- a/compiler/rustc_parse/src/parser/attr_wrapper.rs
+++ b/compiler/rustc_parse/src/parser/attr_wrapper.rs
@@ -340,7 +340,7 @@ impl<'a> Parser<'a> {
         // If we support tokens at all
         if let Some(target_tokens) = ret.tokens_mut() {
             if target_tokens.is_none() {
-                // Store se our newly captured tokens into the AST node
+                // Store our newly captured tokens into the AST node.
                 *target_tokens = Some(tokens.clone());
             }
         }