We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mut
1 parent 07bcf4a commit e277a98Copy full SHA for e277a98
library/core/src/future/join.rs
@@ -106,7 +106,7 @@ macro join_internal {
106
match ( $( MaybeDone::Future($fut_expr), )* ) { futures => async {
107
let mut futures = futures;
108
// SAFETY: this is `pin_mut!`.
109
- let futures = unsafe { Pin::new_unchecked(&mut futures) };
+ let mut futures = unsafe { Pin::new_unchecked(&mut futures) };
110
poll_fn(move |cx| {
111
let mut done = true;
112
// For each `fut`, pin-project to it, and poll it.
0 commit comments