Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Dec 12, 2024
1 parent b53a6a5 commit bab1002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-body-util/src/combinators/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T: Body + Unpin + ?Sized> Future for Frame<'_, T> {
type Output = Option<Result<http_body::Frame<T::Data>, T::Error>>;

fn poll(mut self: Pin<&mut Self>, ctx: &mut task::Context<'_>) -> task::Poll<Self::Output> {
Expand Down

0 comments on commit bab1002

Please sign in to comment.