docs: smaller box

This commit is contained in:
əlemi 2023-08-20 08:37:19 +02:00
parent 9748ea4a7a
commit 7148b823e6

View file

@ -166,9 +166,7 @@ pub trait Controller<T : Sized + Send + Sync> : Sized + Send + Sync {
/// ///
/// this is just an async trait function wrapped by `async_trait`: /// this is just an async trait function wrapped by `async_trait`:
/// ///
/// ```rust,ignore /// `async fn recv(&self) -> codemp::Result<T>;`
/// async fn recv(&self) -> codemp::Result<T>;
/// ```
async fn recv(&self) -> Result<T>; async fn recv(&self) -> Result<T>;
/// sync variant of [Self::recv], blocking invoking thread /// sync variant of [Self::recv], blocking invoking thread