diff options
author | Benjamin Sago <ogham@bsago.me> | 2015-12-22 12:15:59 +1100 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2015-12-22 12:15:59 +1100 |
commit | 2e15b812496f9f1cc92da22874cfab3239170ee5 (patch) | |
tree | c0398b21861dc6c6e3665937dfed5b4e54d8b05a /src | |
parent | 1b3492ce45552fa4335374ed6d3692992d00278b (diff) |
Optimise imports
1. imports from std
2. imports from external crates
3. imports from local modules
4. imports from self
Diffstat (limited to 'src')
-rw-r--r-- | src/output/details.rs | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/output/details.rs b/src/output/details.rs index 0a65fe6..a31816e 100644 --- a/src/output/details.rs +++ b/src/output/details.rs @@ -113,24 +113,15 @@ 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 dir::Dir; -use feature::xattr::{Attribute, FileAttributes}; -use file::fields as f; -use file::File; -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::local::{LocalDateTime, DatePiece}; use datetime::zoned::TimeZone; use locale; @@ -138,6 +129,14 @@ use locale; use users::{OSUsers, Users}; use users::mock::MockUsers; +use dir::Dir; +use feature::xattr::{Attribute, FileAttributes}; +use file::fields as f; +use file::File; +use options::{FileFilter, RecurseOptions}; +use output::colours::Colours; +use output::column::{Alignment, Column, Columns, SizeFormat}; +use output::cell::{TextCell, DisplayWidth}; use super::filename; |