fix: stringify!(r#move) is "r#move" instead of "move" (#2973)

This commit is contained in:
三咲雅 misaki masa 2025-07-10 10:33:43 +08:00 committed by GitHub
parent bc9dbd35e3
commit 18795320bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,9 +10,14 @@ impl Input {
return self.$name(cmd);
}
};
($name:ident, $alias:literal) => {
if cmd.name == $alias {
return self.$name(cmd);
}
};
}
on!(r#move);
on!(r#move, "move");
on!(backward);
on!(forward);