about summary refs log tree commit diff
path: root/src/test/rustdoc/async-move-doctest.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-02 03:45:58 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-08-20 03:08:42 +0200
commit228015acd29ceaaed815a0430da462648e44ea42 (patch)
tree080350ca6e31808cf3b618cf5bbce6988e20e7f1 /src/test/rustdoc/async-move-doctest.rs
parent6a14411b7633ecaf70dc9ae0112678487a9b0d64 (diff)
downloadrust-228015acd29ceaaed815a0430da462648e44ea42.tar.gz
rust-228015acd29ceaaed815a0430da462648e44ea42.zip
Remove async_await gates from tests.
Diffstat (limited to 'src/test/rustdoc/async-move-doctest.rs')
-rw-r--r--src/test/rustdoc/async-move-doctest.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/rustdoc/async-move-doctest.rs b/src/test/rustdoc/async-move-doctest.rs
index 42723132782..2ba61388c9e 100644
--- a/src/test/rustdoc/async-move-doctest.rs
+++ b/src/test/rustdoc/async-move-doctest.rs
@@ -1,13 +1,11 @@
 // compile-flags:--test
 // edition:2018
 
-// prior to setting the default edition for the doctest pre-parser, this doctest would fail due to
-// a fatal parsing error
+// Prior to setting the default edition for the doctest pre-parser,
+// this doctest would fail due to a fatal parsing error.
 // see https://github.com/rust-lang/rust/issues/59313
 
 //! ```
-//! #![feature(async_await)]
-//!
 //! fn foo() {
 //!     drop(async move {});
 //! }