try to get CI to build

This commit is contained in:
Carl Fredrik Samson
2020-02-25 18:27:10 +01:00
parent 70c4020059
commit 15936dc004

View File

@@ -67,7 +67,7 @@ The bulk of an async program will consist of non-leaf-futures, which are a kind
of pause-able computation. This is an important distinction since these futures represents a _set of operations_. Often, such a task will `await` a leaf future of pause-able computation. This is an important distinction since these futures represents a _set of operations_. Often, such a task will `await` a leaf future
as one of many operations to complete the task. as one of many operations to complete the task.
```rust, ignore, noplaypen ```rust, ignore, noplaypen, edition2018
// Non-leaf-future // Non-leaf-future
let non_leaf = async { let non_leaf = async {
let mut stream = TcpStream::connect("127.0.0.1:3000").await.unwrap();// <- yield let mut stream = TcpStream::connect("127.0.0.1:3000").await.unwrap();// <- yield