Skip to main content

rule_description

Function rule_description 

Source
pub fn rule_description(code: &str, default: &str) -> String
Expand description

Get a translated rule description by rule code (e.g. “LT01”). Falls back to the provided default if no translation exists.