feat: allow async function in command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -24,7 +24,7 @@ pub enum Msg {
|
||||
|
||||
impl IntoCommand for Msg {
|
||||
fn into_command(self) -> crate::commands::Command {
|
||||
Command::new(|| Some(self))
|
||||
Command::new(|_| Some(self))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user