Closed
Description
Given a function definition
pub fn timeout<'a>(&'a mut self, duration: Duration) -> impl Future<Item=(), Error=!> + 'a
then this is currently (rustc 1.26.0-nightly (482a913fb 2018-03-25)
) rendered as
There are two very important bits of information missing from this:
- The associated types of the
Future
trait - The lifetime bound on the returned type