mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 10:22:40 +00:00
Remove pad crate and unnecessary qualifications
This commit is contained in:
parent
f526d24911
commit
d1e682b0c1
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -12,7 +12,6 @@ dependencies = [
|
||||
"natord 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num_cpus 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"number_prefix 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pad 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"scoped_threadpool 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"term_grid 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -16,7 +16,6 @@ locale = "0.1.2"
|
||||
natord = "1.0.7"
|
||||
num_cpus = "*"
|
||||
number_prefix = "0.2.3"
|
||||
pad = "0.1.1"
|
||||
scoped_threadpool = "*"
|
||||
term_grid = "*"
|
||||
unicode-width = "*"
|
||||
|
@ -3,6 +3,7 @@
|
||||
#![feature(slice_splits, vec_resize)]
|
||||
|
||||
#![warn(trivial_casts, trivial_numeric_casts)]
|
||||
#![warn(unused_extern_crates, unused_qualifications)]
|
||||
|
||||
extern crate ansi_term;
|
||||
extern crate datetime;
|
||||
@ -12,7 +13,6 @@ extern crate locale;
|
||||
extern crate natord;
|
||||
extern crate num_cpus;
|
||||
extern crate number_prefix;
|
||||
extern crate pad;
|
||||
extern crate scoped_threadpool;
|
||||
extern crate term_grid;
|
||||
extern crate unicode_width;
|
||||
|
@ -1,5 +1,4 @@
|
||||
use std::cmp;
|
||||
use std::default;
|
||||
use std::fmt;
|
||||
use std::num::ParseIntError;
|
||||
use std::os::unix::fs::MetadataExt;
|
||||
@ -180,7 +179,7 @@ pub enum SortField {
|
||||
ModifiedDate, AccessedDate, CreatedDate,
|
||||
}
|
||||
|
||||
impl default::Default for SortField {
|
||||
impl Default for SortField {
|
||||
fn default() -> SortField {
|
||||
SortField::Name
|
||||
}
|
||||
@ -396,7 +395,7 @@ pub enum SizeFormat {
|
||||
JustBytes,
|
||||
}
|
||||
|
||||
impl default::Default for SizeFormat {
|
||||
impl Default for SizeFormat {
|
||||
fn default() -> SizeFormat {
|
||||
SizeFormat::DecimalBytes
|
||||
}
|
||||
@ -442,7 +441,7 @@ pub struct TimeTypes {
|
||||
created: bool,
|
||||
}
|
||||
|
||||
impl default::Default for TimeTypes {
|
||||
impl Default for TimeTypes {
|
||||
fn default() -> TimeTypes {
|
||||
TimeTypes { accessed: false, modified: true, created: false }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user