@@ -70,7 +70,7 @@ fn get_syntax_mapping_to_paths(
7070 match mapping {
7171 (_, MappingTarget::MapToUnknown) => {}
7272 (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);
7474 globs.push(matcher.glob().glob().into());
7575 }
7676 }