Skip to content

Commit a369ade

Browse files
LegNeatoFirestar99
authored andcommitted
Use Default impl
1 parent 3a15c31 commit a369ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/difftests/bin/src/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ impl Runner {
383383
return Err(RunnerError::EmptyOutput);
384384
}
385385

386-
let output_type = output_type.unwrap_or(OutputType::Raw);
386+
let output_type = output_type.unwrap_or_default();
387387
let groups = self.group_outputs(&pkg_outputs, epsilon, output_type);
388388
if groups.len() > 1 {
389389
let differ: Box<dyn OutputDiffer + Send + Sync> = output_type.into();

0 commit comments

Comments
 (0)