about summary refs log tree commit diff
path: root/src/libstd/task
diff options
context:
space:
mode:
authorBen Blum <bblum@andrew.cmu.edu>2013-06-10 18:18:04 -0400
committerBen Blum <bblum@andrew.cmu.edu>2013-06-10 18:18:04 -0400
commit8081aea3b86d9e25746ff03acabe53c3644b600c (patch)
treebd703fd655cd002528a0d6da6dbd5968b9bc1936 /src/libstd/task
parentd25fae0e10d92d7329211170a5b38b104a5093f0 (diff)
downloadrust-8081aea3b86d9e25746ff03acabe53c3644b600c.tar.gz
rust-8081aea3b86d9e25746ff03acabe53c3644b600c.zip
Tag a bunch of destructors that need mutable self with FIXME for #4330. Close #4943.
Diffstat (limited to 'src/libstd/task')
-rw-r--r--src/libstd/task/spawn.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/task/spawn.rs b/src/libstd/task/spawn.rs
index 87e9296657f..bc409e06633 100644
--- a/src/libstd/task/spawn.rs
+++ b/src/libstd/task/spawn.rs
@@ -323,6 +323,7 @@ impl Drop for TCB {
     // Runs on task exit.
     fn finalize(&self) {
         unsafe {
+            // FIXME(#4330) Need self by value to get mutability.
             let this: &mut TCB = transmute(self);
 
             // If we are failing, the whole taskgroup needs to die.