refactor: cargo fmt
This commit is contained in:
@@ -277,7 +277,7 @@ impl Stats for ByteStats {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// convert from bytes to kb, mb, gb etc
|
// convert from bytes to kB, MB, GB etc
|
||||||
impl fmt::Display for ByteStats {
|
impl fmt::Display for ByteStats {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
let one_kb = 1000.0;
|
let one_kb = 1000.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user