mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 02:04:19 +00:00
revset: update documentation of Revset::iter()
Since we hid the graph iterator implementation behind `Revset::iter_graph()`, I don't think we have any callers of `Revset::iter()` require the iteration to be in index position order, so let's not promise that. We do want to promise that the iteration is in topological order with children before parents, however.
This commit is contained in:
parent
fc84c02c8e
commit
e721a81780
1 changed files with 1 additions and 1 deletions
|
@ -1556,7 +1556,7 @@ pub fn resolve_symbols(
|
|||
}
|
||||
|
||||
pub trait Revset<'index> {
|
||||
// All revsets currently iterate in order of descending index position
|
||||
/// Iterate in topological order with children before parents.
|
||||
fn iter(&self) -> Box<dyn Iterator<Item = IndexEntry<'index>> + '_>;
|
||||
|
||||
fn iter_graph(
|
||||
|
|
Loading…
Reference in a new issue