1
Fork 0

Remove references to maybe_whole_expr.

It was removed in #126571.
This commit is contained in:
Nicholas Nethercote 2024-07-16 16:40:35 +10:00
parent 8cb6bc3b5a
commit 9c4f3dbd06
2 changed files with 1 additions and 3 deletions

View file

@ -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