Skip to content

Commit

Permalink
Editions "in" -> "beginning with".
Browse files Browse the repository at this point in the history
In case there is an edition after 2018, so that this is clear what it covers.
  • Loading branch information
ehuss committed Jul 16, 2019
1 parent 0cd01f5 commit a27c7e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/expressions/await-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ More specifically, an `<expr>.await` expression has the following effect.
[`Poll::Pending`]: ../../std/task/enum.Poll.html#variant.Pending
[`Poll::Ready`]: ../../std/task/enum.Poll.html#variant.Ready

> **Edition differences**: Await expressions are only available in Rust 2018.
> **Edition differences**: Await expressions are only available beginning with
> Rust 2018.
## Task context

Expand Down
2 changes: 1 addition & 1 deletion src/expressions/block-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ this type is unspecified.
> to an enum with one variant per `await` point, where each variant
> stores the data needed to resume from its corresponding point.
> **Edition differences**: Async blocks are only available in Rust 2018.
> **Edition differences**: Async blocks are only available beginning with Rust 2018.
[`std::ops::Fn`]: ../../std/ops/trait.Fn.html
[`std::future::Future`]: ../../std/future/trait.Future.html
Expand Down
3 changes: 2 additions & 1 deletion src/items/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ For more information on the effect of async, see [`async` blocks][async-blocks].
[async-blocks]: ../expressions/block-expr.md#async-blocks
[`impl Future`]: ../types/impl-trait.md

> **Edition differences**: Async functions are only available in Rust 2018.
> **Edition differences**: Async functions are only available beginning with
> Rust 2018.
## Attributes on functions

Expand Down

0 comments on commit a27c7e7

Please sign in to comment.