mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
docs: smaller box
This commit is contained in:
parent
9748ea4a7a
commit
7148b823e6
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue