]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_ast/src/token.rs
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / compiler / rustc_ast / src / token.rs
index 15f46ef5d7fe54bf473a22e43f319670bc9bb448..710a592e258b43d1ec067d6562e9c705ebee05b8 100644 (file)
@@ -495,7 +495,7 @@ impl Token {
         self.lifetime().is_some()
     }
 
-    /// Returns `true` if the token is a identifier whose name is the given
+    /// Returns `true` if the token is an identifier whose name is the given
     /// string slice.
     pub fn is_ident_named(&self, name: Symbol) -> bool {
         self.ident().map_or(false, |(ident, _)| ident.name == name)