mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-13 06:06:56 +03:00
revset: remove obsolete silencing of Clippy check
This commit is contained in:
parent
81c8543621
commit
4fbf09ed8c
@ -1974,9 +1974,6 @@ pub fn evaluate_expression<'repo>(
|
||||
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 } => {
|
||||
let root_set = roots.evaluate(repo, workspace_ctx)?;
|
||||
let candidate_set = heads.ancestors().evaluate(repo, workspace_ctx)?;
|
||||
|
Loading…
Reference in New Issue
Block a user