summary refs log tree commit diff
path: root/src/comp/syntax
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@pobox.com>2011-12-28 13:05:02 -0800
committerGraydon Hoare <graydon@pobox.com>2011-12-28 13:05:02 -0800
commit51227c1e8abe1f6cf7957ca10e98f58a2e4fef5c (patch)
treee5cbaca869c51b7daea8a19b7bfb33a67a5201a6 /src/comp/syntax
parent9236fdf39f2cf38b9642768214c39ea1c9543628 (diff)
parentb6cecdd4de2824b3f07c2c7126300479037f0b3b (diff)
downloadrust-51227c1e8abe1f6cf7957ca10e98f58a2e4fef5c.tar.gz
rust-51227c1e8abe1f6cf7957ca10e98f58a2e4fef5c.zip
Merge pull request #1389 from erickt/master
misc standard library additions
Diffstat (limited to 'src/comp/syntax')
-rw-r--r--src/comp/syntax/ext/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/fmt.rs b/src/comp/syntax/ext/fmt.rs
index 0530b743eef..3b17fdb6f7c 100644
--- a/src/comp/syntax/ext/fmt.rs
+++ b/src/comp/syntax/ext/fmt.rs
@@ -26,7 +26,7 @@ fn expand_syntax_ext(cx: ext_ctxt, sp: span, arg: @ast::expr,
     }
     let fmt =
         expr_to_str(cx, args[0],
-                    "first argument to #fmt must be a " + "string literal.");
+                    "first argument to #fmt must be a string literal.");
     let fmtspan = args[0].span;
     #debug("Format string:");
     log(debug, fmt);