@@ -70,7 +70,7 @@ fn get_syntax_mapping_to_paths(
70 match mapping {
70 match mapping {
71 (_, MappingTarget::MapToUnknown) => {}
71 (_, MappingTarget::MapToUnknown) => {}
72 (matcher, MappingTarget::MapTo(s)) => {
72 (matcher, MappingTarget::MapTo(s)) => {
73− let globs = map.entry((*s).into()).or_insert(Vec::new());
73+ let globs = map.entry((*s).into()).or_insert_with(Vec::new);
74 globs.push(matcher.glob().glob().into());
74 globs.push(matcher.glob().glob().into());