We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
maybe_whole_expr
1 parent 8cb6bc3 commit 9c4f3dbCopy full SHA for 9c4f3db
compiler/rustc_ast/src/token.rs
@@ -699,8 +699,7 @@ impl Token {
699
false
700
}
701
702
- /// Would `maybe_whole_expr` in `parser.rs` return `Ok(..)`?
703
- /// That is, is this a pre-parsed expression dropped into the token stream
+ /// Is this a pre-parsed expression dropped into the token stream
704
/// (which happens while parsing the result of macro expansion)?
705
pub fn is_whole_expr(&self) -> bool {
706
if let Interpolated(nt) = &self.kind
compiler/rustc_parse/src/parser/mod.rs
@@ -101,7 +101,6 @@ pub enum TrailingToken {
101
MaybeComma,
102
103
104
-/// Like `maybe_whole_expr`, but for things other than expressions.
105
#[macro_export]
106
macro_rules! maybe_whole {
107
($p:expr, $constructor:ident, |$x:ident| $e:expr) => {
0 commit comments