Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored and cramertj committed Jun 25, 2019
1 parent 16f5546 commit 744ece9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions futures-util/src/stream/unfold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ impl<T, F, Fut, It> Stream for Unfold<T, F, Fut>

if let Some((item, next_state)) = step {
*self.as_mut().state() = Some(next_state);
return Poll::Ready(Some(item))
Poll::Ready(Some(item))
} else {
return Poll::Ready(None)
Poll::Ready(None)
}
}
}

0 comments on commit 744ece9

Please sign in to comment.