diff --git a/src/play.rs b/src/play.rs index 28c4795..f07a4f7 100644 --- a/src/play.rs +++ b/src/play.rs @@ -71,11 +71,11 @@ impl Thread { // FIXME: support attrs (docstrings) $($Variant $({ $($arg: $Arg),* })?),* } - impl ::tengri::Command<$State> for $Command { - fn execute (&self, $state: &mut $State) -> Perhaps { + impl ::tengri::dizzle::Act<$State> for $Command { + fn act (&self, $state: &mut $State) -> Perhaps { match self { $(Self::$Variant $({ $($arg),* })? => $body,)* - _ => unimplemented!("Command<{}>: {self:?}", stringify!($State)), + _ => unimplemented!("Act<{}>: {self:?}", stringify!($State)), } } }