Skip to main content

rule_command

Function rule_command 

Source
pub fn rule_command(rule: &RuleDef) -> &'static str
Expand description

The command family a rule reports under (dead-code, health, dupes, flags, or security), derived from the registry array that owns it. Membership is by id (unique across registries); the registries are const slices, so pointer identity is not stable across uses.