You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extern crate futures;
extern crate futures_cpupool;
use futures::Future;
use futures_cpupool::CpuPool;
fn main() {
let f = futures::lazy(|| Ok::<u32, u32>(1));
let pool = CpuPool::new(1);
let mut c = pool.spawn(f);
let _ = c.poll();
}