[Renaming] str_to_float is now float::from_str, float_to_str is now float::to_str

This commit is contained in:
David Rajchenbach-Teller 2011-10-12 10:25:39 +02:00
parent 7faed3d87c
commit 8c9dd54ded
4 changed files with 8 additions and 8 deletions

View file

@ -94,7 +94,7 @@ fn time<@T>(do_it: bool, what: str, thunk: fn() -> T) -> T {
let rv = thunk();
let end = std::time::precise_time_s();
log_err #fmt["time: %s took %s s", what,
std::float::float_to_str(end - start, 3u)];
std::float::to_str(end - start, 3u)];
ret rv;
}