diff --git a/capnp-rpc/src/lib.rs b/capnp-rpc/src/lib.rs index 3b9fc5141..4daa007a2 100644 --- a/capnp-rpc/src/lib.rs +++ b/capnp-rpc/src/lib.rs @@ -164,8 +164,9 @@ pub trait VatNetwork { /// will need to have more sophisticated `VatNetwork` implementations, in order to support /// [level 3](https://capnproto.org/rpc.html#protocol-features) features. /// -/// An `RpcSystem` is a `Future` and needs to be driven by a task executor. A common way -/// accomplish that is to pass the `RpcSystem` to `tokio_core::reactor::Handle::spawn()`. +/// An `RpcSystem` is a non-`Send`able `Future` and needs to be driven by a task +/// executor. A common way accomplish that is to pass the `RpcSystem` to +/// `tokio::task::spawn_local()`. #[must_use = "futures do nothing unless polled"] pub struct RpcSystem where