about summary refs log tree commit diff
path: root/src/libterm/lib.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-03-30 09:40:52 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-04-01 11:23:45 -0400
commitc35c46821a69af14e6b38e0238f70e22433a3e8e (patch)
tree7ac8c7a22194415f47c035622f5df59517f8b5bd /src/libterm/lib.rs
parent49b76a087bbbca3771c8b98125ecb59f7bfe80e6 (diff)
downloadrust-c35c46821a69af14e6b38e0238f70e22433a3e8e.tar.gz
rust-c35c46821a69af14e6b38e0238f70e22433a3e8e.zip
Fallout in public-facing and semi-public-facing libs
Diffstat (limited to 'src/libterm/lib.rs')
-rw-r--r--src/libterm/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index 38d58f042b9..74ec3406f73 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -184,7 +184,7 @@ pub mod attr {
     /// Most attributes can only be turned on and must be turned off with term.reset().
     /// The ones that can be turned off explicitly take a boolean value.
     /// Color is also represented as an attribute for convenience.
-    #[derive(Copy)]
+    #[derive(Copy, Clone)]
     pub enum Attr {
         /// Bold (or possibly bright) mode
         Bold,