Skip to content

Commit b57849e

Browse files
yjhmelodytaiki-e
andauthored
Update src/stream/stream/max_by.rs
Co-Authored-By: Taiki Endo <[email protected]>
1 parent a8d3d14 commit b57849e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/max_by.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ where
5151
}
5252
Poll::Pending
5353
}
54-
None => Poll::Ready(*this.max),
54+
None => Poll::Ready(this.max.take()),
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)