mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
remove unused GroupData
associated type
This commit is contained in:
parent
1b778760ae
commit
799ddce157
2 changed files with 0 additions and 8 deletions
|
@ -193,7 +193,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
let mut query_fn_declarations = proc_macro2::TokenStream::new();
|
||||
let mut query_fn_definitions = proc_macro2::TokenStream::new();
|
||||
let mut query_descriptor_variants = proc_macro2::TokenStream::new();
|
||||
let mut group_data_elements = vec![];
|
||||
let mut storage_fields = proc_macro2::TokenStream::new();
|
||||
let mut queries_with_storage = vec![];
|
||||
for query in &queries {
|
||||
|
@ -289,11 +288,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
#fn_name((#(#keys),*)),
|
||||
});
|
||||
|
||||
// Entry for the query group data tuple
|
||||
group_data_elements.push(quote! {
|
||||
(#(#keys,)* #value)
|
||||
});
|
||||
|
||||
// A field for the storage struct
|
||||
//
|
||||
// FIXME(#120): the pub should not be necessary once we complete the transition
|
||||
|
@ -326,7 +320,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
{
|
||||
type GroupStorage = #group_storage<DB__>;
|
||||
type GroupKey = #group_key;
|
||||
type GroupData = (#(#group_data_elements),*);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -130,7 +130,6 @@ where
|
|||
pub trait QueryGroup<DB: Database> {
|
||||
type GroupStorage;
|
||||
type GroupKey;
|
||||
type GroupData;
|
||||
}
|
||||
|
||||
/// Trait implemented by a database for each group that it supports.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue