From 3f9ac78215bd52c108f9f2fd93aa8b64e0956b48 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Tue, 12 Mar 2024 18:49:34 +0900 Subject: [PATCH] revset: update legacy range syntax in comment --- lib/src/revset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/revset.rs b/lib/src/revset.rs index 6dd7f07b5..98ee0a9c9 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -2344,7 +2344,7 @@ impl VisibilityResolutionContext<'_> { // but if it does, the heads set could be extended to include the commits // (and `remote_branches()`) specified in the revset expression. Alternatively, // some optimization rules could be removed, but that means `author(_) & x` - // would have to test `:visible_heads() & x`. + // would have to test `::visible_heads() & x`. ResolvedExpression::Ancestors { heads: self.resolve_visible_heads().into(), generation: GENERATION_RANGE_FULL,