about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-07 17:23:14 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-03-11 09:35:59 -0700
commit4faf63e472f1cd8721be6c498e4db97760665e90 (patch)
treeea5395eecce3e26c1d9f822852613211b4f3c5a8 /src/libcore/task
parente48446d060bb35925af0e79fcd2554f83ee26ecd (diff)
downloadrust-4faf63e472f1cd8721be6c498e4db97760665e90.tar.gz
rust-4faf63e472f1cd8721be6c498e4db97760665e90.zip
libstd: Remove all newtype enums from std and core.
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/spawn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs
index 617149f7fd5..a0db2525441 100644
--- a/src/libcore/task/spawn.rs
+++ b/src/libcore/task/spawn.rs
@@ -151,7 +151,7 @@ struct AncestorNode {
     mut ancestors:    AncestorList,
 }
 
-enum AncestorList = Option<unstable::Exclusive<AncestorNode>>;
+struct AncestorList(Option<unstable::Exclusive<AncestorNode>>);
 
 // Accessors for taskgroup arcs and ancestor arcs that wrap the unsafety.
 #[inline(always)]