Minor improvement of variable naming accuracy

This commit is contained in:
cyqsimon committed 2023-12-11 10:20:11 +08:00
1 parent 64840fbbae
commit 0fea82cff9
2 files changed
+5 -4

No files matched your search

+3 -3
View File
@@ -172,10 +172,10 @@ impl MappingDefModel {
let list = self
.mappings
.into_iter()
.flat_map(|(target, matcher)| {
matcher
.flat_map(|(target, matchers)| {
matchers
.into_iter()
.map(|rule| (rule, target.clone()))
.map(|matcher| (matcher, target.clone()))
.collect::<Vec<_>>()
})
.collect();