mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 11:34:54 +00:00
revset: remove redundant boxing from evaluated children node
Just spotted while moving codes around. This wouldn't matter in practice.
This commit is contained in:
parent
36e7afe0db
commit
d9d2b405e1
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ impl<'index> EvaluationContext<'index> {
|
|||
self.walk_ancestors_until_roots(&*root_set, &*head_set);
|
||||
let roots: HashSet<_> = root_positions.into_iter().collect();
|
||||
let candidates = Box::new(RevWalkRevset { walk });
|
||||
let predicate = pure_predicate_fn(move |entry| {
|
||||
let predicate = PurePredicateFn(move |entry: &IndexEntry| {
|
||||
entry
|
||||
.parent_positions()
|
||||
.iter()
|
||||
|
|
Loading…
Reference in a new issue