Kaynağa Gözat

Remove redundant imports

Ben S 10 yıl önce
ebeveyn
işleme
02ba026763
3 değiştirilmiş dosya ile 2 ekleme ve 4 silme
  1. 0 1
      src/dir.rs
  2. 1 1
      src/file.rs
  3. 1 2
      src/output/details.rs

+ 0 - 1
src/dir.rs

@@ -1,4 +1,3 @@
-use colours::Colours;
 use feature::Git;
 use file::File;
 use file;

+ 1 - 1
src/file.rs

@@ -3,7 +3,7 @@ use std::env::current_dir;
 use std::fs;
 use std::io;
 use std::os::unix;
-use std::os::unix::raw::{blkcnt_t, gid_t, ino_t, mode_t, nlink_t, time_t, uid_t};
+use std::os::unix::raw::{blkcnt_t, gid_t, ino_t, nlink_t, time_t, uid_t};
 use std::os::unix::fs::{MetadataExt, PermissionsExt};
 use std::path::{Component, Path, PathBuf};
 

+ 1 - 2
src/output/details.rs

@@ -8,9 +8,8 @@ use users::{OSUsers, Users};
 
 use super::filename;
 
-use ansi_term::{ANSIString, ANSIStrings, Style};
+use ansi_term::{ANSIStrings, Style};
 use ansi_term::Style::Plain;
-use ansi_term::Colour::Fixed;
 
 use locale;