-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revset_graph: remove lifetimed IndexEntry<'_> from look_ahead buffer
Prepares for removing &CompositeIndex from the RevsetGraphIterator struct. The input iterator will also be changed to position-based. I've turned self.look_ahead.get().unwrap() into assertion, but it's not super important here. It's just for sanity that we've mapped missing edges properly. FWIW, we could say RevsetGraphIterator is an example of iterating *and* testing membership of the input revset (though the yielded entries are discarded.)
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters