mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 03:36:42 +01:00
fix(proc): Command self type
This commit is contained in:
parent
e3e3c163da
commit
022bfa3e20
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ impl ToTokens for CommandDef {
|
|||
/// mutable pointer to [#state], invoking predefined operations
|
||||
/// and optionally returning undo history data.
|
||||
impl ::tengri::input::Command<#state> for #command_enum {
|
||||
fn execute (self, state: &mut #state) -> Perhaps<Self> {
|
||||
fn execute (&self, state: &mut #state) -> Perhaps<Self> {
|
||||
match self { #(#implementations)* }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue