chore: clippy send + sync warnings, drop warnings

This commit is contained in:
Edward Langley
2026-04-04 10:01:27 -07:00
parent 0db89b1e3a
commit 3c561adf05
2 changed files with 11 additions and 8 deletions

View File

@ -38,7 +38,7 @@ pub struct CmdContext<'a> {
}
/// A command that reads state and produces effects.
pub trait Cmd: Debug {
pub trait Cmd: Debug + Send + Sync {
fn execute(&self, ctx: &CmdContext) -> Vec<Box<dyn Effect>>;
fn name(&self) -> &str;
}