in case someone manages to get that landed, i star...
# development
w
in case someone manages to get that landed, i started to do a bit of experimenting with
impl Trait
. unfortunately you can't use type aliases for traits (blugh), but you can do:
Copy code
#[cfg_attr(rustfmt, rustfmt_skip)]
trait NodeFuture<I>: Future<Item=I, Error=Failure> {}
#[cfg_attr(rustfmt, rustfmt_skip)]
impl<I, T> NodeFuture<I> for T where T: Future<Item=I, Error=Failure> {}