mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 01:39:25 +00:00
e7d704dd8b
The unsafe impl now asserts that the `DatabaseSlot` implementor type is indeed `Send+Sync` if `DB::DatabaseData` is `Send+Sync`. Since our query keys/values are a part of database-data, this means that `Slot` must be `Send+Sync` if the key/value are `Send+Sync`. We test this with a function that will cause compliation to fail if we accidentally introduce an `Rc<T>` etc. |
||
---|---|---|
.. | ||
salsa-macros |