Skip to content

Commit

Permalink
Fix missing mut typo
Browse files Browse the repository at this point in the history
Co-authored-by: Ibraheem Ahmed <ibrah1440@gmail.com>
  • Loading branch information
danielhenrymantilla and ibraheemdev authored Dec 9, 2021
1 parent 07bcf4a commit e277a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/future/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ macro join_internal {
match ( $( MaybeDone::Future($fut_expr), )* ) { futures => async {
let mut futures = futures;
// SAFETY: this is `pin_mut!`.
let futures = unsafe { Pin::new_unchecked(&mut futures) };
let mut futures = unsafe { Pin::new_unchecked(&mut futures) };
poll_fn(move |cx| {
let mut done = true;
// For each `fut`, pin-project to it, and poll it.
Expand Down

0 comments on commit e277a98

Please sign in to comment.