[evmbin] fix time formatting (#11060)

This commit is contained in:
Andronik Ordian 2019-09-16 15:14:34 +02:00 committed by GitHub
parent 61a7c30ed5
commit bceb1d5691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ pub mod simple;
/// Formats duration into human readable format.
pub fn format_time(time: &Duration) -> String {
format!("{}.{:.9}s", time.as_secs(), time.subsec_nanos())
format!("{}.{:09}s", time.as_secs(), time.subsec_nanos())
}
/// Formats the time as microseconds.