forked from mirror/async-std
Once doesn't need Unpin bound (#554)
This commit is contained in:
parent
355e2eded8
commit
65afd41a33
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue