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