Skip to content

Commit 4fc6bfd

Browse files
committed
Clippy
1 parent 54a1ea1 commit 4fc6bfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ pub(crate) async fn build(
237237
let output = "out.mp4";
238238
if release {
239239
let audio_codec = audio_codec.unwrap();
240-
video::combine_video(out_dir, &slides, &config, &provider, output, &audio_codec);
240+
video::combine_video(out_dir, &slides, config, &provider, output, &audio_codec);
241241
}
242242
slides
243243
}

src/video.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn transition_pause(config: &Config, provider: &Provider) -> chrono::Duration {
168168

169169
pub(crate) fn combine_video(
170170
dir: &str,
171-
slides: &Vec<Slide>,
171+
slides: &[Slide],
172172
config: &Config,
173173
provider: &Provider,
174174
output: &str,

0 commit comments

Comments
 (0)