diff options
author | Benjamin Sago <ogham@bsago.me> | 2015-04-04 00:14:49 +0200 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2015-04-04 00:14:56 +0200 |
commit | f88556814566dbc1c1cde626cb8d5933c6db5b92 (patch) | |
tree | 50ed3fc800e79c0945e0323836d1dcabe3b8658c /src/filetype.rs | |
parent | 8d066994e75f1c9f30ae6a792e0a399763d74779 (diff) |
Upgrade to latest Rust
Still missing a few Beta features, but it compiles!
- Copy requires Clone
- current_dir returns a Path now
- num_cpus moved to a crate
Diffstat (limited to 'src/filetype.rs')
-rw-r--r-- | src/filetype.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filetype.rs b/src/filetype.rs index 074b292..fa16b53 100644 --- a/src/filetype.rs +++ b/src/filetype.rs @@ -7,7 +7,7 @@ use ansi_term::Style; use ansi_term::Style::Plain; use ansi_term::Colour::{Red, Green, Yellow, Blue, Cyan, Fixed}; -#[derive(PartialEq, Debug, Copy)] +#[derive(PartialEq, Debug)] pub enum FileType { Normal, Directory, Executable, Immediate, Compiled, Symlink, Special, Image, Video, Music, Lossless, Compressed, Document, Temp, Crypto, |