From b9b8e1cd1bd41b1e24ed83fe1b48e745667402e8 Mon Sep 17 00:00:00 2001 From: Mahmut Bulut Date: Thu, 24 Oct 2019 22:41:41 +0200 Subject: [PATCH] Remove global proc_future type --- lightproc/src/raw_proc.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lightproc/src/raw_proc.rs b/lightproc/src/raw_proc.rs index 8efb46a8..c45831d3 100644 --- a/lightproc/src/raw_proc.rs +++ b/lightproc/src/raw_proc.rs @@ -18,8 +18,6 @@ use crate::state::*; use std::panic::AssertUnwindSafe; -pub(crate) type ProcFuture = CatchUnwind>; - /// Raw pointers to the fields of a task. pub(crate) struct RawProc { pub(crate) pdata: *const ProcData, @@ -121,7 +119,7 @@ where let layout_pdata = Layout::new::(); let layout_t = Layout::new::(); let layout_s = Layout::new::(); - let layout_f = Layout::new::>(); + let layout_f = Layout::new::>>(); let layout_r = Layout::new::(); let size_union = layout_f.size().max(layout_r.size());