mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-28 15:19:41 +00:00
Update src/stream/stream/max_by.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
a8d3d1483f
commit
b57849e1cb
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ where
|
|||
}
|
||||
Poll::Pending
|
||||
}
|
||||
None => Poll::Ready(*this.max),
|
||||
None => Poll::Ready(this.max.take()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue