From a38e59f4476d9923166e1c3cb61f93d025cb7a77 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Tue, 22 Oct 2024 09:40:39 +0900 Subject: [PATCH] revset: fix is_empty() doc, the logic was inverted --- 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 79ace543a..408298f94 100644 --- a/lib/src/revset.rs +++ b/lib/src/revset.rs @@ -2207,7 +2207,7 @@ pub trait Revset: fmt::Debug { where Self: 'a; - /// Returns true if iterator will emit at least one commit or error. + /// Returns true if iterator will emit no commit nor error. fn is_empty(&self) -> bool; /// Inclusive lower bound and, optionally, inclusive upper bound of how many