Skip to content

Commit 254339f

Browse files
committed
fix fmt! usage
1 parent 5afb3d2 commit 254339f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/compiletest/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ fn run_debuginfo_test(config: &config, props: &TestProps, testfile: &Path) {
292292
}
293293
}
294294
if i != num_check_lines {
295-
fatal_ProcRes(fmt!("line not found in debugger output: %s"
295+
fatal_ProcRes(fmt!("line not found in debugger output: %s",
296296
check_lines[i]), &ProcRes);
297297
}
298298
}

src/librustpkg/path_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ pub fn mk_output_path(what: OutputType, where: Target,
400400
Test => "test",
401401
Bench => "bench",
402402
_ => ""
403-
}
403+
},
404404
os::EXE_SUFFIX))
405405
};
406406
if !output_path.is_absolute() {

src/test/bench/shootout-binarytrees.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn main() {
8080
i += 1;
8181
}
8282
printfln!("%d\t trees of depth %d\t check: %d",
83-
iterations * 2, depth, chk));
83+
iterations * 2, depth, chk);
8484
depth += 2;
8585
}
8686
printfln!("long lived tree of depth %d\t check: %d",

0 commit comments

Comments
 (0)