Skip to content

Commit c3f9075

Browse files
Fix syntax error
1 parent 17605a1 commit c3f9075

File tree

1 file changed

+1
-1
lines changed
  • src/libsyntax_ext/deriving

1 file changed

+1
-1
lines changed

src/libsyntax_ext/deriving/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ pub fn expand_derive(cx: &mut ExtCtxt,
249249

250250
if let Ok(ext) = cx.resolver.resolve_macro(cx.current_expansion.mark, &path, false) {
251251
if let SyntaxExtension::CustomDerive(ref ext) = *ext {
252-
return ext.expand(cx, span, &mitem, item),
252+
return ext.expand(cx, span, &mitem, item);
253253
}
254254
}
255255

0 commit comments

Comments
 (0)