Skip to content

Commit d1fcc01

Browse files
committed
remove async_await feature gate
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
1 parent 0156dc8 commit d1fcc01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+0
-195
lines changed

benches/task_local.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(async_await, test)]
2-
31
extern crate test;
42

53
use async_std::task;

examples/hello-world.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Spawns a task that says hello.
22
3-
#![feature(async_await)]
4-
53
use async_std::task;
64

75
async fn say_hi() {

examples/line-count.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Counts the number of lines in a file given as an argument.
22
3-
#![feature(async_await)]
4-
53
use std::env::args;
64

75
use async_std::fs::File;

examples/list-dir.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Lists files in a directory given as an argument.
22
3-
#![feature(async_await)]
4-
53
use std::env::args;
64

75
use async_std::fs;

examples/logging.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Prints the runtime's execution log on the standard output.
22
3-
#![feature(async_await)]
4-
53
use async_std::task;
64

75
fn main() {

examples/print-file.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Prints a file given as an argument to stdout.
22
3-
#![feature(async_await)]
4-
53
use std::env::args;
64

75
use async_std::fs::File;

examples/stdin-echo.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Echoes lines read on stdin to stdout.
22
3-
#![feature(async_await)]
4-
53
use async_std::io;
64
use async_std::prelude::*;
75
use async_std::task;

examples/stdin-timeout.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Reads a line from stdin, or exits with an error if nothing is read in 5 seconds.
22
3-
#![feature(async_await)]
4-
53
use std::time::Duration;
64

75
use async_std::io;

examples/surf-web.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Sends an HTTP request to the Rust website.
22
3-
#![feature(async_await)]
4-
53
use async_std::task;
64

75
fn main() -> Result<(), surf::Exception> {

examples/task-local.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
//! Creates a task-local value.
22
3-
#![feature(async_await)]
4-
53
use std::cell::Cell;
64

75
use async_std::prelude::*;

0 commit comments

Comments
 (0)