Skip to content

Commit

Permalink
use expect
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Sep 5, 2022
1 parent e903a6a commit 3948830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ impl Download {
pb.set_style(
ProgressStyle::default_bar()
.template(&self.progress_template)
.unwrap()
.expect("set ProgressStyle template failed")
.progress_chars(&self.progress_chars),
);

Expand Down

0 comments on commit 3948830

Please sign in to comment.