We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5d1770 commit 1e05578Copy full SHA for 1e05578
src/util/duration.rs
@@ -115,7 +115,7 @@ pub fn display_duration(duration: &Duration) -> String {
115
let mut ss = String::new();
116
117
let mut f = |unit: &str, mult: u128, exact: bool| {
118
- if exact && ms % mult != 0 {
+ if exact && !ms.is_multiple_of(mult) {
119
return;
120
}
121
0 commit comments