diff options
Diffstat (limited to 'src/sched.rs')
-rw-r--r-- | src/sched.rs | 2 |
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; |