Skip to content

Commit efe0067

Browse files
committed
refactor(date): reorder error imports for better organization
Move 'use uucore::error::{UResult, USimpleError};' after the cfg-specific import to group error-related imports together, improving code readability and consistency in the date utility module.
1 parent 4a83e5a commit efe0067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/uu/date/src/date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ use std::path::PathBuf;
2020
use std::sync::OnceLock;
2121
use uucore::display::Quotable;
2222
use uucore::error::FromIo;
23-
use uucore::error::{UResult, USimpleError};
2423
#[cfg(unix)]
2524
use uucore::error::UUsageError;
25+
use uucore::error::{UResult, USimpleError};
2626
use uucore::translate;
2727
use uucore::{format_usage, show};
2828
#[cfg(windows)]

0 commit comments

Comments
 (0)