about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSubhash Bhushan <subhash.bhushan@kaybus.com>2014-11-05 00:20:05 +0530
committerSubhash Bhushan <subhash.bhushan@kaybus.com>2014-11-06 19:17:50 +0530
commit2cde618b1740ad9f50df82e1bcde169b356f51cb (patch)
tree9ebe55926c3eb7ae35843577471edf390cc2f4f8 /src/libstd
parente84e7a00ddec76570bbaa9afea385d544f616814 (diff)
downloadrust-2cde618b1740ad9f50df82e1bcde169b356f51cb.tar.gz
rust-2cde618b1740ad9f50df82e1bcde169b356f51cb.zip
Make Filetype Clonable
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index ebf541a63da..0531563bcb3 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1737,7 +1737,7 @@ pub enum FileAccess {
 }
 
 /// Different kinds of files which can be identified by a call to stat
-#[deriving(PartialEq, Show, Hash)]
+#[deriving(PartialEq, Show, Hash, Clone)]
 pub enum FileType {
     /// This is a normal file, corresponding to `S_IFREG`
     TypeFile,