Skip to content

Commit 291cebe

Browse files
authored
join_set: make poll_join_next public (#51)
1 parent 594c417 commit 291cebe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msim/src/sim/task/join_set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ impl<T: 'static> JoinSet<T> {
9696
std::mem::swap(&mut new_inner, &mut self.inner);
9797
}
9898

99-
fn poll_join_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Result<T, JoinError>>> {
99+
pub fn poll_join_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<Result<T, JoinError>>> {
100100
let pinned = Pin::new(&mut self.inner);
101101
pinned.poll_next(cx)
102102
}

0 commit comments

Comments
 (0)