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

@ -61,6 +61,7 @@ pub enum InfraAction {
impl InfraAction {
/// The `systemctl` subcommand this action maps to.
#[must_use]
pub fn systemctl_verb(self) -> &'static str {
match self {
InfraAction::Start => "start",