mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-06 07:42:29 -05:00
automated clippy fixes
This commit is contained in:
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user