mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-15 16:53:25 +00:00
8966580ba4
If I understand correctly, the 'revset lifetimes on `Box<dyn Revset<'index> + 'revset>` are not constrained by the lifetime of a revset; we don't have any revsets that borrow data from other revsets. Instead, they're all about constraining a boxed revset to the index's lifetime. Without the lifetime annotation, it would default to 'static, and the borrow-checker doesn't like `dyn Revset<'index> + 'static`, since the revset could then live longer than the index it borrows. |
||
---|---|---|
.. | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |