summaryrefslogtreecommitdiffstats
path: root/src/filetype.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-01-26 00:27:06 +0000
committerBen S <ogham@bsago.me>2015-01-26 00:27:06 +0000
commit22a4dc90b995192604a8183931d0ddad4dea6cf8 (patch)
tree8eab67dab63922e695bd682d1490327c8cc6780f /src/filetype.rs
parent8e33c753555e9b4740c3cc2deb9efad2accd9e12 (diff)
Update #[derive] names
Diffstat (limited to 'src/filetype.rs')
-rw-r--r--src/filetype.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filetype.rs b/src/filetype.rs
index 605c7f1..81a6095 100644
--- a/src/filetype.rs
+++ b/src/filetype.rs
@@ -8,13 +8,12 @@ use ansi_term::Style;
use ansi_term::Style::Plain;
use ansi_term::Colour::{Red, Green, Yellow, Blue, Cyan, Fixed};
+#[derive(Copy)]
pub enum FileType {
Normal, Directory, Executable, Immediate, Compiled, Symlink, Special,
Image, Video, Music, Lossless, Compressed, Document, Temp, Crypto,
}
-impl Copy for FileType { }
-
static IMAGE_TYPES: &'static [&'static str] = &[
"png", "jpeg", "jpg", "gif", "bmp", "tiff", "tif",
"ppm", "pgm", "pbm", "pnm", "webp", "raw", "arw",