Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
keeperofdakeys committed Feb 1, 2017
1 parent 17605a1 commit c3f9075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax_ext/deriving/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ pub fn expand_derive(cx: &mut ExtCtxt,

if let Ok(ext) = cx.resolver.resolve_macro(cx.current_expansion.mark, &path, false) {
if let SyntaxExtension::CustomDerive(ref ext) = *ext {
return ext.expand(cx, span, &mitem, item),
return ext.expand(cx, span, &mitem, item);
}
}

Expand Down

0 comments on commit c3f9075

Please sign in to comment.