Skip to content

Commit

Permalink
Update src/stream/stream/max_by.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: Taiki Endo <[email protected]>
  • Loading branch information
yjhmelody and taiki-e authored Oct 26, 2019
1 parent a8d3d14 commit b57849e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/stream/max_by.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ where
}
Poll::Pending
}
None => Poll::Ready(*this.max),
None => Poll::Ready(this.max.take()),
}
}
}

0 comments on commit b57849e

Please sign in to comment.