mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
change #[salsa::query_group]
attribute to take a struct name
This commit is contained in:
parent
690a118472
commit
9b5c7eeb5e
23 changed files with 133 additions and 111 deletions
|
@ -1,4 +1,4 @@
|
|||
#[salsa::query_group]
|
||||
#[salsa::query_group(MyStruct)]
|
||||
trait MyDatabase: salsa::Database {
|
||||
#[salsa::invoke(another_module::another_name)]
|
||||
fn my_query(&self, key: ()) -> ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue