diff options
| author | Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com> | 2021-12-09 21:21:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-09 21:21:37 +0100 |
| commit | e277a987585f7e841b2b2c38f9f90fe5defda828 (patch) | |
| tree | 824ecf45694dc69ccef5a1fc376468bee0a1f938 | |
| parent | 07bcf4aad3774e8b796a0a2b0141784ede3eb88a (diff) | |
| download | rust-e277a987585f7e841b2b2c38f9f90fe5defda828.tar.gz rust-e277a987585f7e841b2b2c38f9f90fe5defda828.zip | |
Fix missing `mut` typo
Co-authored-by: Ibraheem Ahmed <ibrah1440@gmail.com>
| -rw-r--r-- | library/core/src/future/join.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/future/join.rs b/library/core/src/future/join.rs index 2d27b8edfd8..a6ffbe07d91 100644 --- a/library/core/src/future/join.rs +++ b/library/core/src/future/join.rs @@ -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. |
