From 7321706cb976cd39204e90bb6fa246195560d653 Mon Sep 17 00:00:00 2001 From: Florian Hartwig Date: Tue, 6 Jan 2015 17:04:58 +0100 Subject: Fix breakage caused by the removal of unboxed closures --- src/sched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 int + 'a>; // A single CPU mask word pub type CpuMask = c_ulong; -- cgit v1.2.3