about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-07-23 23:41:33 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-07-24 09:45:20 -0400
commit254339fd3974417999147ac6c4f23c80e7ad8ab4 (patch)
tree324dc816d1a6048bf2a3acdb9b288bfe71c9d136
parent5afb3d20aa30deb522401cdeef7656539e767fc2 (diff)
downloadrust-254339fd3974417999147ac6c4f23c80e7ad8ab4.tar.gz
rust-254339fd3974417999147ac6c4f23c80e7ad8ab4.zip
fix fmt! usage
-rw-r--r--src/compiletest/runtest.rs2
-rw-r--r--src/librustpkg/path_util.rs2
-rw-r--r--src/test/bench/shootout-binarytrees.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index a2f36c104a0..7cd73c82530 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -292,7 +292,7 @@ fn run_debuginfo_test(config: &config, props: &TestProps, testfile: &Path) {
             }
         }
         if i != num_check_lines {
-            fatal_ProcRes(fmt!("line not found in debugger output: %s"
+            fatal_ProcRes(fmt!("line not found in debugger output: %s",
                                check_lines[i]), &ProcRes);
         }
     }
diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs
index ed5b1118a9c..700dbea8182 100644
--- a/src/librustpkg/path_util.rs
+++ b/src/librustpkg/path_util.rs
@@ -400,7 +400,7 @@ pub fn mk_output_path(what: OutputType, where: Target,
                                Test => "test",
                                Bench => "bench",
                                _     => ""
-                           }
+                           },
                            os::EXE_SUFFIX))
     };
     if !output_path.is_absolute() {
diff --git a/src/test/bench/shootout-binarytrees.rs b/src/test/bench/shootout-binarytrees.rs
index 2f63c302d53..596a5b5422a 100644
--- a/src/test/bench/shootout-binarytrees.rs
+++ b/src/test/bench/shootout-binarytrees.rs
@@ -80,7 +80,7 @@ fn main() {
             i += 1;
         }
         printfln!("%d\t trees of depth %d\t check: %d",
-                  iterations * 2, depth, chk));
+                  iterations * 2, depth, chk);
         depth += 2;
     }
     printfln!("long lived tree of depth %d\t check: %d",