Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
[evmbin] fix time formatting (#11060)
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian authored Sep 16, 2019
1 parent 61a7c30 commit bceb1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evmbin/src/display/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bceb1d5

Please sign in to comment.