Apply clippy

This commit is contained in:
Rafael Caricio 2022-01-11 22:22:16 +01:00
parent 44493c73d7
commit ef8a94508c
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

@ -84,7 +84,7 @@ fn main_loop(pipeline: gst::Pipeline) -> Result<(), Error> {
"This is just an example of \nsubtitle",
"We will learn more about \nGStreamer and buffers today",
];
let mut sub_idx = (0..subtitles.len()).cycle().into_iter();
let mut sub_idx = (0..subtitles.len()).cycle();
while RUNNING.load(Ordering::Relaxed) {
if let Some(pipeline) = pipeline_weak.upgrade() {