From b7fe2e6bb5d83043693792067758a3a178dbd4dd Mon Sep 17 00:00:00 2001 From: Manuel Fuchs Date: Mon, 29 Jan 2024 16:00:13 +0100 Subject: [PATCH] Fix "miliseconds" typo --- libherokubuildpack/src/output/style.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libherokubuildpack/src/output/style.rs b/libherokubuildpack/src/output/style.rs index 3d7e4e9d..c2af2e1f 100644 --- a/libherokubuildpack/src/output/style.rs +++ b/libherokubuildpack/src/output/style.rs @@ -290,15 +290,15 @@ pub(crate) mod time { let hours = hours(duration); let minutes = minutes(duration); let seconds = seconds(duration); - let miliseconds = milliseconds(duration); + let milliseconds = milliseconds(duration); if hours > 0 { format!("{hours}h {minutes}m {seconds}s") } else if minutes > 0 { format!("{minutes}m {seconds}s") - } else if seconds > 0 || miliseconds > 100 { + } else if seconds > 0 || milliseconds > 100 { // 0.1 - format!("{seconds}.{miliseconds:0>3}s") + format!("{seconds}.{milliseconds:0>3}s") } else { String::from("< 0.1s") }