automated clippy fixes

This commit is contained in:
Scott Lamb
2025-01-22 09:40:25 -08:00
parent 865328f02d
commit c46832369a
6 changed files with 9 additions and 15 deletions

View File

@@ -395,10 +395,7 @@ impl Segment {
if let Err(e) = f(&it) {
return Err(e);
}
have_frame = match it.next(data) {
Err(e) => return Err(e),
Ok(hf) => hf,
};
have_frame = it.next(data)?;
}
if key_frame < self.key_frames {
bail!(