From 12cfcb03c1d481db30c2de136f1aa72dc11dd2c5 Mon Sep 17 00:00:00 2001 From: Carl Fredrik Samson Date: Mon, 6 Apr 2020 01:52:41 +0200 Subject: [PATCH] fixed failing test --- book/3_generators_pin.html | 2 +- book/print.html | 2 +- src/3_generators_pin.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/book/3_generators_pin.html b/book/3_generators_pin.html index bfc0ef4..353df8f 100644 --- a/book/3_generators_pin.html +++ b/book/3_generators_pin.html @@ -656,7 +656,7 @@ the syntax used in generators:

};

Compare that with a similar example using async blocks:

-
let mut fut = async || {
+
let mut fut = async || {
         let to_borrow = String::from("Hello");
         let borrowed = &to_borrow;
         SomeResource::some_task().await;
diff --git a/book/print.html b/book/print.html
index bff45d5..e15a5ca 100644
--- a/book/print.html
+++ b/book/print.html
@@ -1553,7 +1553,7 @@ the syntax used in generators:

};

Compare that with a similar example using async blocks:

-
let mut fut = async || {
+
let mut fut = async || {
         let to_borrow = String::from("Hello");
         let borrowed = &to_borrow;
         SomeResource::some_task().await;
diff --git a/src/3_generators_pin.md b/src/3_generators_pin.md
index b3d1ee3..9dda67e 100644
--- a/src/3_generators_pin.md
+++ b/src/3_generators_pin.md
@@ -562,7 +562,7 @@ let mut gen = move || {
 
 Compare that with a similar example using async blocks:
 
-```
+```rust, ignore
 let mut fut = async || {
         let to_borrow = String::from("Hello");
         let borrowed = &to_borrow;