This commit is contained in:
Micha Reiser 2023-10-23 11:12:25 +09:00 committed by GitHub
parent d6a4283003
commit 2c2ebf952a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 16 deletions

View file

@ -184,7 +184,7 @@ pub(crate) fn collect_per_file_ignores(
for pair in pairs {
per_file_ignores
.entry(pair.pattern)
.or_insert_with(Vec::new)
.or_default()
.push(pair.prefix);
}
per_file_ignores