mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 23:32:39 +00:00
Update du.rs
Remove extra parentheses around 1
This commit is contained in:
parent
4a0f3b31ab
commit
9ff5d4f1f9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
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 {
|
fn convert_size_k(size: u64, multiplier: u64, _block_size: u64) -> String {
|
||||||
|
|
Loading…
Reference in a new issue