revset: fix is_empty() doc, the logic was inverted

This commit is contained in:
Yuya Nishihara 2024-10-22 09:40:39 +09:00
parent f4ec653e12
commit a38e59f447

View file

@ -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