Remove outdated reference to `FutureObj`

This commit is contained in:
Joshua Groves 2020-03-08 00:27:03 -03:30 committed by Taylor Cramer
parent d7651bb1cd
commit 3f6335a5b2
2 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,6 @@ FusedFuture
FusedStream
FutOne
FutTwo
FutureObj
FuturesUnordered
GenFuture
http

View File

@ -52,9 +52,8 @@ itself.
```
Let's also add a method to spawner to make it easy to spawn new futures.
This method will take a future type, box it and put it in a FutureObj,
and create a new `Arc<Task>` with it inside which can be enqueued onto the
executor.
This method will take a future type, box it, and create a new `Arc<Task>` with
it inside which can be enqueued onto the executor.
```rust,ignore
{{#include ../../examples/02_04_executor/src/lib.rs:spawn_fn}}