📝 docs(config): add documentation for get_rules_by_label function
- add comment to describe the purpose of the function
This commit is contained in:
committed by
Jeremiah Russell
parent
fda5f8f472
commit
3673c059f3
@@ -137,7 +137,8 @@ impl Config {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn get_rules_by_label(&self) -> BTreeMap<String, EolRule> {
|
||||
/// Get a map of the rules indexed by labels
|
||||
pub fn get_rules_by_label(&self) -> BTreeMap<String, EolRule> {
|
||||
let mut rbl = BTreeMap::new();
|
||||
|
||||
for rule in self.rules.values() {
|
||||
|
||||
Reference in New Issue
Block a user