Skip to content

Commit

Permalink
syntax: Add ToTokens impl for Method
Browse files Browse the repository at this point in the history
  • Loading branch information
bgamari committed Jul 17, 2014
1 parent a807aa1 commit e4f8cec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libsyntax/ext/quote.rs
Expand Up @@ -143,6 +143,7 @@ pub mod rt {
impl_to_source!(ast::Arg, arg_to_string)
impl_to_source!(Generics, generics_to_string)
impl_to_source!(Gc<ast::Item>, item_to_string)
impl_to_source!(Gc<ast::Method>, method_to_string)
impl_to_source!(Gc<ast::Expr>, expr_to_string)
impl_to_source!(Gc<ast::Pat>, pat_to_string)
impl_to_source_slice!(ast::Ty, ", ")
Expand Down Expand Up @@ -238,6 +239,7 @@ pub mod rt {
impl_to_tokens!(ast::Ident)
impl_to_tokens!(Gc<ast::Item>)
impl_to_tokens!(Gc<ast::Pat>)
impl_to_tokens!(Gc<ast::Method>)
impl_to_tokens_lifetime!(&'a [Gc<ast::Item>])
impl_to_tokens!(ast::Ty)
impl_to_tokens_lifetime!(&'a [ast::Ty])
Expand Down

5 comments on commit e4f8cec

@bors
Copy link
Contributor

@bors bors commented on e4f8cec Jul 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at bgamari@e4f8cec

@bors
Copy link
Contributor

@bors bors commented on e4f8cec Jul 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging bgamari/rust/to-tokens = e4f8cec into auto

@bors
Copy link
Contributor

@bors bors commented on e4f8cec Jul 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bgamari/rust/to-tokens = e4f8cec merged ok, testing candidate = d9f1d6b

@bors
Copy link
Contributor

@bors bors commented on e4f8cec Jul 18, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = d9f1d6b

Please sign in to comment.