Skip to content

Commit

Permalink
join_set: make poll_join_next public
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Jul 24, 2024
1 parent 594c417 commit 49c0361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msim/src/sim/task/join_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl<T: 'static> JoinSet<T> {
std::mem::swap(&mut new_inner, &mut self.inner);
}

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

0 comments on commit 49c0361

Please sign in to comment.