1
Fork 0

add inherent methods to Poll

This commit is contained in:
tinaun 2018-06-08 23:24:52 -04:00
parent 49eb754cc0
commit fb507cadf3
2 changed files with 50 additions and 1 deletions

View file

@ -327,7 +327,7 @@ impl<'a, F: Future> Future for AssertUnwindSafe<F> {
let pinned_field = PinMut::new_unchecked(
&mut PinMut::get_mut(self.reborrow()).0
);
pinned_field.poll(cx)
}
}