mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-08 21:08:28 +00:00
create macro-rules macros to encapsulate output
This is a new idea for how to manage procedural macros, which I kind of hate.
This commit is contained in:
parent
d666744704
commit
dde7341f97
8 changed files with 244 additions and 206 deletions
|
@ -56,7 +56,7 @@ where
|
|||
crate::cycle::CycleRecoveryStrategy::Fallback => {
|
||||
if let Some(c) = active_query.take_cycle() {
|
||||
assert!(c.is(&cycle));
|
||||
C::recover_from_cycle(db, &cycle, key)
|
||||
C::recover_from_cycle(db, &cycle, C::id_to_input(db, key))
|
||||
} else {
|
||||
// we are not a participant in this cycle
|
||||
debug_assert!(!cycle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue