mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 08:30:51 +00:00
0e01067d55
Quickest POC I could create to get some potentially cyclic queries to not panic and instead return a result I could act on. (gluon's module importing need to error on cycles). ``` // Causes `db.query()` to actually return `Result<V, CycleError>` fn query(&self, key: K, key2: K2) -> V; ``` A proper implementation of this would likely return `Result<V, CycleError<(K, K2)>>` or maybe larger changes are needed. cc #6 |
||
---|---|---|
.. | ||
derived | ||
lru | ||
runtime | ||
debug.rs | ||
dependency.rs | ||
derived.rs | ||
doctest.rs | ||
durability.rs | ||
input.rs | ||
intern_id.rs | ||
interned.rs | ||
lib.rs | ||
lru.rs | ||
plumbing.rs | ||
revision.rs | ||
runtime.rs |