about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/token.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-07-16 16:40:35 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-07-16 16:40:35 +1000
commit9c4f3dbd066fd8e35f188388f66493522f7d4476 (patch)
tree4bb4111392180c079b66d784061e9b4b4797ab87 /compiler/rustc_ast/src/token.rs
parent8cb6bc3b5a33cbd7d9b131fad2f63cc243b26ea0 (diff)
downloadrust-9c4f3dbd066fd8e35f188388f66493522f7d4476.tar.gz
rust-9c4f3dbd066fd8e35f188388f66493522f7d4476.zip
Remove references to `maybe_whole_expr`.
It was removed in #126571.
Diffstat (limited to 'compiler/rustc_ast/src/token.rs')
-rw-r--r--compiler/rustc_ast/src/token.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_ast/src/token.rs b/compiler/rustc_ast/src/token.rs
index efe19566152..9478da236c3 100644
--- a/compiler/rustc_ast/src/token.rs
+++ b/compiler/rustc_ast/src/token.rs
@@ -699,8 +699,7 @@ impl Token {
         false
     }
 
-    /// Would `maybe_whole_expr` in `parser.rs` return `Ok(..)`?
-    /// That is, is this a pre-parsed expression dropped into the token stream
+    /// Is this a pre-parsed expression dropped into the token stream
     /// (which happens while parsing the result of macro expansion)?
     pub fn is_whole_expr(&self) -> bool {
         if let Interpolated(nt) = &self.kind