diff --git a/http-body-util/src/combinators/frame.rs b/http-body-util/src/combinators/frame.rs index 211fa08..ce6ab50 100644 --- a/http-body-util/src/combinators/frame.rs +++ b/http-body-util/src/combinators/frame.rs @@ -9,7 +9,7 @@ use core::task; /// Future that resolves to the next frame from a [`Body`]. pub struct Frame<'a, T: ?Sized>(pub(crate) &'a mut T); -impl<'a, T: Body + Unpin + ?Sized> Future for Frame<'a, T> { +impl Future for Frame<'_, T> { type Output = Option, T::Error>>; fn poll(mut self: Pin<&mut Self>, ctx: &mut task::Context<'_>) -> task::Poll {