enable clippy::must_use_candidate, add #[must_use] to the 3 flagged fns
This commit is contained in:
parent
760e5ad4cc
commit
c661d699ad
4 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue