summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Hartwig <florian.j.hartwig@gmail.com>2015-01-06 17:04:58 +0100
committerCarl Lerche <me@carllerche.com>2015-01-06 13:44:22 -0800
commit7321706cb976cd39204e90bb6fa246195560d653 (patch)
treead234086d9c4544a7213104cfb4dbcb1783d9be1
parentb82dac392092c946e4d9e1253afed690c41c36e4 (diff)
downloadnix-7321706cb976cd39204e90bb6fa246195560d653.zip
Fix breakage caused by the removal of unboxed closures
-rw-r--r--src/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index c5903027..15524d90 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -62,7 +62,7 @@ mod cpuset_attribs {
}
}
-pub type CloneCb<'a> = ||:'a -> int;
+pub type CloneCb<'a> = Box<FnMut() -> int + 'a>;
// A single CPU mask word
pub type CpuMask = c_ulong;