Skip to main content

translate_last_match_to_first_match

Function translate_last_match_to_first_match 

Source
pub fn translate_last_match_to_first_match(source: &[SourceRule]) -> Translated
Expand description

Translate source (last-match-wins order, first rule = lowest priority) into a first-match deny→ask→allow RuleSet — see the module doc for the algorithm and its safety guarantee.