refactor: trying to do something right!
This commit is contained in:
@@ -11,7 +11,6 @@ pub fn action(input: TokenStream) -> TokenStream {
|
||||
let name = &ast.ident;
|
||||
let gen = quote! {
|
||||
impl bevy_controls::contract::Action for #name {}
|
||||
impl bevy_controls::contract::ActionInner for #name {}
|
||||
};
|
||||
gen.into()
|
||||
}
|
||||
@@ -23,7 +22,6 @@ pub fn game_state(input: TokenStream) -> TokenStream {
|
||||
let name = &ast.ident;
|
||||
let gen = quote! {
|
||||
impl bevy_controls::contract::GameState for #name {}
|
||||
impl bevy_controls::contract::GameStateInner for #name {}
|
||||
};
|
||||
gen.into()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user