File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,9 @@ pub trait VatNetwork<VatId> {
164
164
/// will need to have more sophisticated `VatNetwork` implementations, in order to support
165
165
/// [level 3](https://capnproto.org/rpc.html#protocol-features) features.
166
166
///
167
- /// An `RpcSystem` is a `Future` and needs to be driven by a task executor. A common way
168
- /// accomplish that is to pass the `RpcSystem` to `tokio_core::reactor::Handle::spawn()`.
167
+ /// An `RpcSystem` is a non-`Send`able `Future` and needs to be driven by a task
168
+ /// executor. A common way accomplish that is to pass the `RpcSystem` to
169
+ /// `tokio::task::spawn_local()`.
169
170
#[ must_use = "futures do nothing unless polled" ]
170
171
pub struct RpcSystem < VatId >
171
172
where
You can’t perform that action at this time.
0 commit comments