typo
This commit is contained in:
parent
bbcd3566de
commit
dc951098f6
crates/ra_mbe/src
@ -26,7 +26,7 @@ pub use tt::{Delimiter, Punct};
|
||||
|
||||
pub use crate::syntax_bridge::ast_to_token_tree;
|
||||
|
||||
/// This struct contains AST for a single `macro_rules` defenition. What might
|
||||
/// This struct contains AST for a single `macro_rules` definition. What might
|
||||
/// be very confusing is that AST has almost exactly the same shape as
|
||||
/// `tt::TokenTree`, but there's a crucial difference: in macro rules, `$ident`
|
||||
/// and `$()*` have special meaning (see `Var` and `Repeat` data structures)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/// This module takes a (parsed) defenition of `macro_rules` invocation, a
|
||||
/// This module takes a (parsed) definition of `macro_rules` invocation, a
|
||||
/// `tt::TokenTree` representing an argument of macro invocation, and produces a
|
||||
/// `tt::TokenTree` for the result of the expansion.
|
||||
use rustc_hash::FxHashMap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user