Skip to content

Commit 0794f30

Browse files
committed
improve
1 parent f1deb83 commit 0794f30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/progress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl ProgressBar {
100100
self.prefix
101101
.as_deref()
102102
.map(|s| format!("{s} "))
103-
.unwrap_or_else(String::new),
103+
.unwrap_or_default();
104104
msg.as_ref()
105105
);
106106
}

0 commit comments

Comments
 (0)