revset: remove stale comment about filter intersection with 'all()'

This should have been removed at e17fc89a8d "revset: make filter node unary,
move candidates to outer intersection".
This commit is contained in:
Yuya Nishihara 2022-12-07 17:14:37 +09:00
parent 222d9a6527
commit 75e072b80c

View file

@ -1167,8 +1167,6 @@ fn transform_expression_bottom_up(
/// help further optimization (e.g. combine `file(_)` matchers.)
/// c. Wraps union of filter and set (e.g. `author(_) | heads()`), to
/// ensure inner filter wouldn't need to evaluate all the input sets.
///
/// The resulting tree may contain redundant intersections like `all() & e`.
fn internalize_filter(expression: &Rc<RevsetExpression>) -> Option<Rc<RevsetExpression>> {
fn is_filter(expression: &RevsetExpression) -> bool {
matches!(