Skip to content

Commit 082ea6d

Browse files
author
Andrew
committed
Clppy fix 1
1 parent cf45e05 commit 082ea6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn main() {
4141

4242
debug!("{}: {}", t!("main.usingDscVersion"), env!("CARGO_PKG_VERSION"));
4343

44-
let progress_format = args.progress_format.unwrap_or_else(|| { ProgressFormat::Default });
44+
let progress_format = args.progress_format.unwrap_or({ ProgressFormat::Default });
4545

4646
match args.subcommand {
4747
SubCommand::Completer { shell } => {

0 commit comments

Comments
 (0)