summary refs log tree commit diff
path: root/src/libsyntax/ext/log_syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/ext/log_syntax.rs')
-rw-r--r--src/libsyntax/ext/log_syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/log_syntax.rs b/src/libsyntax/ext/log_syntax.rs
index 70d83b164c8..f84e496be9c 100644
--- a/src/libsyntax/ext/log_syntax.rs
+++ b/src/libsyntax/ext/log_syntax.rs
@@ -11,6 +11,6 @@ fn expand_syntax_ext(cx: ext_ctxt, sp: codemap::span, arg: ast::mac_arg,
     );
 
     //trivial expression
-    ret @{id: cx.next_id(), callee_id: cx.next_id(),
+    return @{id: cx.next_id(), callee_id: cx.next_id(),
           node: ast::expr_rec(~[], option::none), span: sp};
 }