mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-30 16:24:46 +00:00
1cabfdb077
390: Add some doc on `specify` r=nikomatsakis a=XFFXFF Add some documentation to explain why `specify` only works if the key is a tracked struct created in the current query, as per [this](https://salsa.zulipchat.com/#narrow/stream/146365-good-first-issue/topic/questions.20about.20.60specify.60/near/295416521) zulip thread. I also added some tests to test that "specify" shouldn't work in some cases. Co-authored-by: XFFXFF <1247714429@qq.com> |
||
---|---|---|
.. | ||
compile-fail | ||
parallel | ||
warnings | ||
accumulate-from-tracked-fn.rs | ||
accumulate-reuse-workaround.rs | ||
accumulate-reuse.rs | ||
accumulate.rs | ||
compile_fail.rs | ||
cycles.rs | ||
debug.rs | ||
deletion-cascade.rs | ||
deletion.rs | ||
expect_reuse_field_x_of_a_tracked_struct_changes_but_fn_depends_on_field_y.rs | ||
expect_reuse_field_x_of_an_input_changes_but_fn_depends_on_field_y.rs | ||
hello_world.rs | ||
lru.rs | ||
mutate_in_place.rs | ||
override_new_get_set.rs | ||
specify-only-works-if-the-key-is-created-in-the-current-query.rs | ||
specify_tracked_fn_in_rev_1_but_not_2.rs | ||
tracked_fn_on_input.rs | ||
tracked_fn_on_tracked.rs | ||
tracked_fn_on_tracked_specify.rs | ||
tracked_fn_read_own_entity.rs |