1use core::future; 2 3use crate::patterns::{impl_newtype_generic, impl_singleton}; 4 5impl_singleton!([T], future::Pending<T>, future::pending()); 6impl_newtype_generic!(T: [], future::Ready<T>, future::ready);