Auto-update fts index
Some checks failed
CI / Typos (push) Successful in 18s
CI / Build and test (push) Failing after 1m4s
CI / Clippy (push) Successful in 1m56s

This commit is contained in:
2026-02-21 16:03:20 -08:00
parent 5d8ad4665d
commit 5aab61bd1b
36 changed files with 1121 additions and 275 deletions

View File

@@ -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>>,