From a27c7e7921b0c537828470366e628be57edb8e40 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 11 Jul 2019 16:58:38 -0700 Subject: [PATCH] Editions "in" -> "beginning with". In case there is an edition after 2018, so that this is clear what it covers. --- src/expressions/await-expr.md | 3 ++- src/expressions/block-expr.md | 2 +- src/items/functions.md | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/expressions/await-expr.md b/src/expressions/await-expr.md index e579474d6..5185f2309 100644 --- a/src/expressions/await-expr.md +++ b/src/expressions/await-expr.md @@ -33,7 +33,8 @@ More specifically, an `.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 diff --git a/src/expressions/block-expr.md b/src/expressions/block-expr.md index 6282c5d43..e50e403c6 100644 --- a/src/expressions/block-expr.md +++ b/src/expressions/block-expr.md @@ -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 diff --git a/src/items/functions.md b/src/items/functions.md index ae2100f10..218454ecd 100644 --- a/src/items/functions.md +++ b/src/items/functions.md @@ -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