Move key binding groups to config crate

This commit is contained in:
Joscha 2023-04-27 15:31:49 +02:00
parent 5a0efd69e4
commit e1c3a463b2
7 changed files with 33 additions and 7 deletions

View file

@ -49,10 +49,10 @@ pub fn derive_impl(input: DeriveInput) -> syn::Result<TokenStream> {
#( #enum_variants )*
}
impl crate::Group for #struct_ident {
impl ::cove_input::Group for #struct_ident {
type Action = #enum_ident;
fn action(&self, input: &mut crate::Input) -> Option<Self::Action> {
fn action(&self, input: &mut ::cove_input::Input) -> Option<Self::Action> {
match () {
#( #match_cases )*
() => None,