From 76264a9c5a84208998f350ab30b7ef4706ce35d7 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 8 Jun 2022 12:58:34 +0200 Subject: ipc: Use full names when referencing external types from public API - Improve the readability of the generated documentation, by using the full name of external types in public API. --- ipc/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs index 70a22615..ce53dedd 100644 --- a/ipc/src/lib.rs +++ b/ipc/src/lib.rs @@ -44,8 +44,6 @@ use std::path::PathBuf; use anyhow::anyhow; use fs2::FileExt; -use tokio_util::compat::Compat; - use capnp_rpc::{RpcSystem, twoparty}; use capnp_rpc::rpc_twoparty_capnp::Side; @@ -78,7 +76,7 @@ mod tests; pub trait Handler { /// Called on every connection. fn handle(&self, - network: twoparty::VatNetwork>) + network: capnp_rpc::twoparty::VatNetwork>) -> RpcSystem; } -- cgit v1.2.3