mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-23 12:32:00 +00:00
Optimise imports
1. imports from std 2. imports from external crates 3. imports from local modules 4. imports from self
This commit is contained in:
parent
1b3492ce45
commit
2e15b81249
@ -113,10 +113,21 @@
|
||||
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
use std::iter::repeat;
|
||||
use std::ops::Add;
|
||||
use std::path::PathBuf;
|
||||
use std::string::ToString;
|
||||
use std::ops::Add;
|
||||
use std::iter::repeat;
|
||||
|
||||
use ansi_term::Style;
|
||||
|
||||
use datetime::format::DateFormat;
|
||||
use datetime::local::{LocalDateTime, DatePiece};
|
||||
use datetime::zoned::TimeZone;
|
||||
|
||||
use locale;
|
||||
|
||||
use users::{OSUsers, Users};
|
||||
use users::mock::MockUsers;
|
||||
|
||||
use dir::Dir;
|
||||
use feature::xattr::{Attribute, FileAttributes};
|
||||
@ -126,18 +137,6 @@ use options::{FileFilter, RecurseOptions};
|
||||
use output::colours::Colours;
|
||||
use output::column::{Alignment, Column, Columns, SizeFormat};
|
||||
use output::cell::{TextCell, DisplayWidth};
|
||||
|
||||
use ansi_term::Style;
|
||||
|
||||
use datetime::local::{LocalDateTime, DatePiece};
|
||||
use datetime::format::DateFormat;
|
||||
use datetime::zoned::TimeZone;
|
||||
|
||||
use locale;
|
||||
|
||||
use users::{OSUsers, Users};
|
||||
use users::mock::MockUsers;
|
||||
|
||||
use super::filename;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user