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,7 +1,7 @@
|
|||
use crate::implementation::{TestContext, TestContextImpl};
|
||||
use salsa::Database;
|
||||
|
||||
#[salsa::query_group]
|
||||
#[salsa::query_group(MemoizedInputs)]
|
||||
pub(crate) trait MemoizedInputsContext: TestContext {
|
||||
fn max(&self) -> usize;
|
||||
#[salsa::input]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue