Skip to content

Commit e277a98

Browse files
Fix missing mut typo
Co-authored-by: Ibraheem Ahmed <[email protected]>
1 parent 07bcf4a commit e277a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/future/join.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ macro join_internal {
106106
match ( $( MaybeDone::Future($fut_expr), )* ) { futures => async {
107107
let mut futures = futures;
108108
// SAFETY: this is `pin_mut!`.
109-
let futures = unsafe { Pin::new_unchecked(&mut futures) };
109+
let mut futures = unsafe { Pin::new_unchecked(&mut futures) };
110110
poll_fn(move |cx| {
111111
let mut done = true;
112112
// For each `fut`, pin-project to it, and poll it.

0 commit comments

Comments
 (0)