Skip to content

Commit def002a

Browse files
committed
Editions "in" -> "beginning with".
In case there is an edition after 2018, so that this is clear what it covers.
1 parent 9804de1 commit def002a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/expressions/await-expr.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ More specifically, an `<expr>.await` expression has the following effect.
3333
[`Poll::Pending`]: ../std/task/enum.Poll.html#variant.Pending
3434
[`Poll::Ready`]: ../std/task/enum.Poll.html#variant.Ready
3535

36-
> **Edition differences**: Await expressions are only available in Rust 2018.
36+
> **Edition differences**: Await expressions are only available beginning with
37+
> Rust 2018.
3738
3839
## Task context
3940

src/expressions/block-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ this type is unspecified.
101101
> to an enum with one variant per `await` point, where each variant
102102
> stores the data needed to resume from its corresponding point.
103103
104-
> **Edition differences**: Async blocks are only available in Rust 2018.
104+
> **Edition differences**: Async blocks are only available beginning with Rust 2018.
105105
106106
[`std::ops::Fn`]: ../std/ops/trait.Fn.html
107107
[`std::future::Future`]: ../std/future/trait.Future.html

src/items/functions.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ For more information on the effect of async, see [`async` blocks][async-blocks].
240240
[async-blocks]: expressions/block-expr.html#async-blocks
241241
[`impl Future`]: types/impl-trait.html
242242

243-
> **Edition differences**: Async functions are only available in Rust 2018.
243+
> **Edition differences**: Async functions are only available beginning with
244+
> Rust 2018.
244245
245246
## Attributes on functions
246247

0 commit comments

Comments
 (0)