2
0
Fork 1
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:
yjh 2019-10-27 00:18:01 +08:00 committed by GitHub
parent a8d3d1483f
commit b57849e1cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ where
}
Poll::Pending
}
None => Poll::Ready(*this.max),
None => Poll::Ready(this.max.take()),
}
}
}