Skip to content

Commit 6911d67

Browse files
authored
Merge pull request #2120 from DanielEScherzer/patch-4
await-expr: add a missing space
2 parents 6fd22e1 + 5251342 commit 6911d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/await-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ More specifically, an await expression has the following effect.
2424
2. Evaluate the future to a [future] `tmp`;
2525
3. Pin `tmp` using [`Pin::new_unchecked`];
2626
4. This pinned future is then polled by calling the [`Future::poll`] method and passing it the current [task context](#task-context);
27-
5. If the call to `poll` returns [`Poll::Pending`], then the future returns `Poll::Pending`, suspending its state so that, when the surrounding async context is re-polled,execution returns to step 3;
27+
5. If the call to `poll` returns [`Poll::Pending`], then the future returns `Poll::Pending`, suspending its state so that, when the surrounding async context is re-polled, execution returns to step 3;
2828
6. Otherwise the call to `poll` must have returned [`Poll::Ready`], in which case the value contained in the [`Poll::Ready`] variant is used as the result of the `await` expression itself.
2929

3030
r[expr.await.edition2018]

0 commit comments

Comments
 (0)