From 02e32aee6f0435913c3001142f58182ae79d828d Mon Sep 17 00:00:00 2001 From: "Azzam S.A" Date: Wed, 7 Aug 2024 07:50:12 +0700 Subject: [PATCH] refactor: group imports --- src/progress/mod.rs | 3 +-- src/progress/week.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/progress/mod.rs b/src/progress/mod.rs index 4deca00..ea6c5a7 100644 --- a/src/progress/mod.rs +++ b/src/progress/mod.rs @@ -5,8 +5,7 @@ pub use month::month; pub mod week; pub use week::week; -use jiff::civil; -use jiff::Unit; +use jiff::{civil, Unit}; use crate::error::Error; diff --git a/src/progress/week.rs b/src/progress/week.rs index b642790..cbf85aa 100644 --- a/src/progress/week.rs +++ b/src/progress/week.rs @@ -1,5 +1,4 @@ -use jiff::civil; -use jiff::ToSpan; +use jiff::{civil, ToSpan}; use super::compute; use crate::error::Error;