Write missing docs and Debug implementations for web
This commit is contained in:
parent
2c630809d4
commit
01b945b981
3 changed files with 22 additions and 2 deletions
|
|
@ -2,6 +2,8 @@ mod action;
|
|||
|
||||
pub use action::Action;
|
||||
|
||||
use std::fmt;
|
||||
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
use std::future::Future;
|
||||
|
||||
|
|
@ -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