From 9ff5d4f1f9e96082ec70400f4fe639582b6baf2c Mon Sep 17 00:00:00 2001 From: E5ten Date: Tue, 9 Oct 2018 21:35:13 -0400 Subject: [PATCH] Update du.rs Remove extra parentheses around 1 --- src/du/du.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/du/du.rs b/src/du/du.rs index 87923246a..371cc4aa8 100644 --- a/src/du/du.rs +++ b/src/du/du.rs @@ -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 {