Auto-update fts index
This commit is contained in:
@@ -88,7 +88,11 @@ impl FlacMetaStrip {
|
||||
// We don't need to store audioframes in our last_block buffer,
|
||||
// since they do not have an `is_last` flag.
|
||||
if matches!(self.last_block, Some(FlacBlock::AudioFrame(_))) {
|
||||
let x = self.last_block.take().unwrap();
|
||||
#[expect(clippy::expect_used)]
|
||||
let x = self
|
||||
.last_block
|
||||
.take()
|
||||
.expect("last_block is Some(AudioFrame), just matched");
|
||||
x.encode(false, true, target)?;
|
||||
}
|
||||
|
||||
@@ -107,6 +111,7 @@ mod tests {
|
||||
tests::manifest,
|
||||
};
|
||||
|
||||
#[expect(clippy::unwrap_used)]
|
||||
fn test_strip(
|
||||
test_case: &FlacTestCase,
|
||||
fragment_size_range: Option<std::ops::Range<usize>>,
|
||||
|
||||
Reference in New Issue
Block a user