From 7148b823e68f25d744beb4c17386455ccf9875c9 Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 20 Aug 2023 08:37:19 +0200 Subject: [PATCH] docs: smaller box --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index fd8988d..93e3833 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -166,9 +166,7 @@ pub trait Controller : Sized + Send + Sync { /// /// this is just an async trait function wrapped by `async_trait`: /// - /// ```rust,ignore - /// async fn recv(&self) -> codemp::Result; - /// ``` + /// `async fn recv(&self) -> codemp::Result;` async fn recv(&self) -> Result; /// sync variant of [Self::recv], blocking invoking thread