File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,11 @@ where
127
127
128
128
// The following items are what `rustc` macro can be parsed into :
129
129
// link: https://github.com/rust-lang/rust/blob/9ebf47851a357faa4cd97f4b1dc7835f6376e639/src/libsyntax/ext/expand.rs#L141
130
- // * Expr(P <ast::Expr>) -> token_tree_to_expr
131
- // * Pat(P <ast::Pat>) -> token_tree_to_pat
132
- // * Ty(P <ast::Ty>) -> token_tree_to_ty
130
+ // * Expr(Box <ast::Expr>) -> token_tree_to_expr
131
+ // * Pat(Box <ast::Pat>) -> token_tree_to_pat
132
+ // * Ty(Box <ast::Ty>) -> token_tree_to_ty
133
133
// * Stmts(SmallVec<[ast::Stmt; 1]>) -> token_tree_to_stmts
134
- // * Items(SmallVec<[P <ast::Item>; 1]>) -> token_tree_to_items
134
+ // * Items(SmallVec<[Box <ast::Item>; 1]>) -> token_tree_to_items
135
135
//
136
136
// * TraitItems(SmallVec<[ast::TraitItem; 1]>)
137
137
// * AssocItems(SmallVec<[ast::AssocItem; 1]>)
You can’t perform that action at this time.
0 commit comments