Update du.rs

Remove extra parentheses around 1
This commit is contained in:
E5ten 2018-10-09 21:35:13 -04:00 committed by GitHub
parent 4a0f3b31ab
commit 9ff5d4f1f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,7 +220,7 @@ fn convert_size_human(size: u64, multiplier: u64, _block_size: u64) -> String {
}
fn convert_size_b(size: u64, _multiplier: u64, _block_size: u64) -> String {
format!("{}", ((size as f64) / ((1) as f64)).ceil())
format!("{}", ((size as f64) / (1 as f64)).ceil())
}
fn convert_size_k(size: u64, multiplier: u64, _block_size: u64) -> String {