diff options
author | Florian Hartwig <florian.j.hartwig@gmail.com> | 2015-01-06 17:04:58 +0100 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2015-01-06 13:44:22 -0800 |
commit | 7321706cb976cd39204e90bb6fa246195560d653 (patch) | |
tree | ad234086d9c4544a7213104cfb4dbcb1783d9be1 /src | |
parent | b82dac392092c946e4d9e1253afed690c41c36e4 (diff) | |
download | nix-7321706cb976cd39204e90bb6fa246195560d653.zip |
Fix breakage caused by the removal of unboxed closures
Diffstat (limited to 'src')
-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; |