Skip to content

Commit

Permalink
Pacify tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
ljedrz committed Jul 10, 2018
1 parent e28e487 commit 84dadb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libsyntax/ext/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ pub type MacroExpanderFn =
-> Box<dyn MacResult+'cx>;

impl<F> TTMacroExpander for F
where F: for<'cx> Fn(&'cx mut ExtCtxt, Span, &[tokenstream::TokenTree]) -> Box<dyn MacResult+'cx>
where F: for<'cx> Fn(&'cx mut ExtCtxt, Span, &[tokenstream::TokenTree])
-> Box<dyn MacResult+'cx>
{
fn expand<'cx>(&self, ecx: &'cx mut ExtCtxt, span: Span, input: TokenStream)
-> Box<dyn MacResult+'cx> {
Expand Down

0 comments on commit 84dadb6

Please sign in to comment.