[Renaming] str_to_float is now float::from_str, float_to_str is now float::to_str
This commit is contained in:
parent
7faed3d87c
commit
8c9dd54ded
4 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue