We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f5342b commit f974560Copy full SHA for f974560
src/main.rs
@@ -147,7 +147,7 @@ fn main() -> Result<()> {
147
}
148
149
let target = target_file();
150
- let gif_target = target.clone() + ".gif";
+ let gif_target = format!("{}.{}", target, "gif");
151
let mut time = prof! {
152
generate_gif(
153
&time_codes.lock().unwrap(),
@@ -157,7 +157,7 @@ fn main() -> Result<()> {
157
};
158
159
if with_video {
160
- let mp4_target = target.clone() + ".mp4";
+ let mp4_target = format!("{}.{}", target, "mp4");
161
time += prof! {
162
generate_mp4(
163
0 commit comments