Update src/stream/stream/max_by.rs

Co-Authored-By: Taiki Endo <te316e89@gmail.com>
yoshuawuyts-patch-1
yjh 5 years ago committed by GitHub
parent a8d3d1483f
commit b57849e1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save