Skip to content

Commit bc23e88

Browse files
committed
fixed
1 parent 418954b commit bc23e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-reporter/src/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl Reporter for StdioReporter {
7575
.environment_paths
7676
.lock()
7777
.expect("environment_paths mutex poisoned");
78-
let paths = environment_paths.entry(env.kind).or_insert_with(Vec::new);
78+
let paths = environment_paths.entry(env.kind).or_default();
7979
paths.push(env.clone());
8080

8181
if self.print_list {

0 commit comments

Comments
 (0)