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> {
164164/// will need to have more sophisticated `VatNetwork` implementations, in order to support
165165/// [level 3](https://capnproto.org/rpc.html#protocol-features) features.
166166///
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()`.
169170#[ must_use = "futures do nothing unless polled" ]
170171pub struct RpcSystem < VatId >
171172where
You can’t perform that action at this time.
0 commit comments