enable clippy::must_use_candidate, add #[must_use] to the 3 flagged fns

This commit is contained in:
damocles 2026-08-29 20:17:51 +02:00 committed by mara
commit c661d699ad
4 changed files with 3 additions and 1 deletions

View file

@ -487,6 +487,7 @@ pub struct LifecycleScope {
impl LifecycleScope {
/// True when nothing is explicitly selected — interpreted as "all
/// classes" (the bare `hivectl stop` / `start` with no scope flags).
#[must_use]
pub fn is_everything(&self) -> bool {
!(self.agents || self.ci || self.forge || self.gateway || self.matrix)
&& self.agent_names.is_empty()