fix fmt! usage

This commit is contained in:
Daniel Micay 2013-07-23 23:41:33 -04:00
parent 5afb3d20aa
commit 254339fd39
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}

View 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() {

View 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",