fixed failing test
This commit is contained in:
@@ -656,7 +656,7 @@ the syntax used in generators:</p>
|
||||
};
|
||||
</code></pre>
|
||||
<p>Compare that with a similar example using async blocks:</p>
|
||||
<pre><code>let mut fut = async || {
|
||||
<pre><code class="language-rust ignore">let mut fut = async || {
|
||||
let to_borrow = String::from("Hello");
|
||||
let borrowed = &to_borrow;
|
||||
SomeResource::some_task().await;
|
||||
|
||||
@@ -1553,7 +1553,7 @@ the syntax used in generators:</p>
|
||||
};
|
||||
</code></pre>
|
||||
<p>Compare that with a similar example using async blocks:</p>
|
||||
<pre><code>let mut fut = async || {
|
||||
<pre><code class="language-rust ignore">let mut fut = async || {
|
||||
let to_borrow = String::from("Hello");
|
||||
let borrowed = &to_borrow;
|
||||
SomeResource::some_task().await;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user