]> git.lizzy.rs Git - rust.git/commitdiff
fix fmt! usage
authorDaniel Micay <danielmicay@gmail.com>
Wed, 24 Jul 2013 03:41:33 +0000 (23:41 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Wed, 24 Jul 2013 13:45:20 +0000 (09:45 -0400)
src/compiletest/runtest.rs
src/librustpkg/path_util.rs
src/test/bench/shootout-binarytrees.rs

index a2f36c104a0a27d1cb7a1b40f2867530dc222f84..7cd73c82530815788842bceac46330e1d87e970f 100644 (file)
@@ -292,7 +292,7 @@ fn debugger() -> ~str { ~"gdb" }
             }
         }
         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);
         }
     }
index ed5b1118a9c7c7d90426406f86bf3639274a9b15..700dbea8182d2e4a0b9fb307232f9779e630e61e 100644 (file)
@@ -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() {
index 2f63c302d534d1be57be380618fa9d11166c86e3..596a5b5422a5dccbd8e12c81b3db9055bc58c767 100644 (file)
@@ -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",