Once doesn't need Unpin bound (#554)

new-scheduler
Stjepan Glavina 5 years ago committed by GitHub
parent 355e2eded8
commit 65afd41a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,7 +39,7 @@ pin_project! {
}
}
impl<T: Unpin> Stream for Once<T> {
impl<T> Stream for Once<T> {
type Item = T;
fn poll_next(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<T>> {

Loading…
Cancel
Save