summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;