ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 8966580ba4 revset: clean up 'revset lifetimes on dyn Revset
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.
2023-02-17 07:52:17 -08:00
..
gen-protos cargo: bump prost-build from 0.11.5 to 0.11.6 2023-01-13 21:24:02 +00:00
src revset: clean up 'revset lifetimes on dyn Revset 2023-02-17 07:52:17 -08:00
tests repo: replace RepoRef by Repo trait 2023-02-15 19:15:17 -08:00
testutils release: release version 0.7.0 2023-02-16 12:50:52 -08:00
build.rs
Cargo.toml release: release version 0.7.0 2023-02-16 12:50:52 -08:00