Write missing docs and Debug implementations for native
This commit is contained in:
parent
7cb6e7438f
commit
2c630809d4
4 changed files with 51 additions and 2 deletions
|
|
@ -1,7 +1,9 @@
|
|||
//! Run asynchronous actions.
|
||||
mod action;
|
||||
|
||||
pub use action::Action;
|
||||
|
||||
use std::fmt;
|
||||
use std::future::Future;
|
||||
|
||||
/// A set of asynchronous actions to be performed by some runtime.
|
||||
|
|
@ -60,3 +62,11 @@ impl<T> Command<T> {
|
|||
command.actions()
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> fmt::Debug for Command<T> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let Command(command) = self;
|
||||
|
||||
command.fmt(f)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue