Skip to content

Commit bf5882b

Browse files
author
The rustc-josh-sync Cronjob Bot
committed
Merge ref 'd36f96412516' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: d36f964 Filtered ref: 92461731ae79cfe5044e4826160665b77c0363a2 This merge was created using https://github.com/rust-lang/josh-sync.
2 parents 9f2a8c6 + 266853e commit bf5882b

File tree

1 file changed

+4
-4
lines changed
  • crates/syntax-bridge/src

1 file changed

+4
-4
lines changed

crates/syntax-bridge/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,11 @@ where
127127

128128
// The following items are what `rustc` macro can be parsed into :
129129
// 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
133133
// * 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
135135
//
136136
// * TraitItems(SmallVec<[ast::TraitItem; 1]>)
137137
// * AssocItems(SmallVec<[ast::AssocItem; 1]>)

0 commit comments

Comments
 (0)