Skip to content

Commit 93337f0

Browse files
committed
separate ItemDecorator from ItemDecorator
1 parent 431ede4 commit 93337f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ext/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct MacroDef {
3333
ext: SyntaxExtension
3434
}
3535

36-
pub type ItemDecorator = @fn(@ExtCtxt,
36+
pub type ItemDecoratorFun = @fn(@ExtCtxt,
3737
Span,
3838
@ast::MetaItem,
3939
~[@ast::item])
@@ -62,7 +62,7 @@ pub enum MacResult {
6262
pub enum SyntaxExtension {
6363

6464
// #[auto_encode] and such
65-
ItemDecorator(ItemDecorator),
65+
ItemDecorator(ItemDecoratorFun),
6666

6767
// Token-tree expanders
6868
NormalTT(SyntaxExpanderTTFun, Option<Span>),

0 commit comments

Comments
 (0)