forked from mirrors/jj
revset: remove obsolete silencing of Clippy check
This commit is contained in:
parent
81c8543621
commit
4fbf09ed8c
1 changed files with 0 additions and 3 deletions
|
@ -1974,9 +1974,6 @@ pub fn evaluate_expression<'repo>(
|
||||||
Ok(Box::new(RevWalkRevset { walk }))
|
Ok(Box::new(RevWalkRevset { walk }))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Clippy doesn't seem to understand that we collect the iterator in order to iterate in
|
|
||||||
// reverse
|
|
||||||
#[allow(clippy::needless_collect)]
|
|
||||||
RevsetExpression::DagRange { roots, heads } => {
|
RevsetExpression::DagRange { roots, heads } => {
|
||||||
let root_set = roots.evaluate(repo, workspace_ctx)?;
|
let root_set = roots.evaluate(repo, workspace_ctx)?;
|
||||||
let candidate_set = heads.ancestors().evaluate(repo, workspace_ctx)?;
|
let candidate_set = heads.ancestors().evaluate(repo, workspace_ctx)?;
|
||||||
|
|
Loading…
Reference in a new issue