Skip to content

Commit f974560

Browse files
committed
chore(clippy): make clippy happy
1 parent 4f5342b commit f974560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ fn main() -> Result<()> {
147147
}
148148

149149
let target = target_file();
150-
let gif_target = target.clone() + ".gif";
150+
let gif_target = format!("{}.{}", target, "gif");
151151
let mut time = prof! {
152152
generate_gif(
153153
&time_codes.lock().unwrap(),
@@ -157,7 +157,7 @@ fn main() -> Result<()> {
157157
};
158158

159159
if with_video {
160-
let mp4_target = target.clone() + ".mp4";
160+
let mp4_target = format!("{}.{}", target, "mp4");
161161
time += prof! {
162162
generate_mp4(
163163
&time_codes.lock().unwrap(),

0 commit comments

Comments
 (0)