diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-04 11:22:13 +0530 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-06-04 11:22:13 +0530 |
commit | 2022a51ce4960923fc5376d8d9b10185319c8c34 (patch) | |
tree | 23ad91ffd178f689c227ebaf000bc900dd4f36ba /src/common.rs | |
parent | 9abc39ba9435ff994c0262417af9bd46abb76774 (diff) |
Fix byte formatting
Diffstat (limited to 'src/common.rs')
-rw-r--r-- | src/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs index fe36988..eefcceb 100644 --- a/src/common.rs +++ b/src/common.rs @@ -81,7 +81,7 @@ impl fmt::Display for ByteFormatDisplay { use ByteFormat::*; let binary = match self.format { - Bytes => return write!(f, "{} b", self.bytes), + Bytes => return write!(f, "{:>10} b", self.bytes), Binary => true, Metric => false, }; |