mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 01:39:25 +00:00
868904874a
All the example code uses Default to create the db structs, but it turns out the *GroupStorage's `#[derive(Default)]` adds a trait bound of (e.g.) `DB__ + Default + HelloWorldDatabase` even though it never actually needs to call HelloWorldDatabase::default(). So if you didn't implement Default, then you couldn't be a salsa database struct. |
||
---|---|---|
.. | ||
salsa-macros |