Chore: Clippy fixes to match new MSRV.

This commit is contained in:
Kyle Simpson
2023-05-21 14:25:13 +01:00
parent 1bf17d128e
commit 9fa063ff0e
10 changed files with 17 additions and 34 deletions

View File

@@ -821,7 +821,7 @@ impl Mixer {
input,
mix_state,
vol,
do_passthrough.then(|| &mut *opus_frame),
do_passthrough.then_some(&mut *opus_frame),
);
let return_here = if let MixType::MixedPcm(pcm_len) = mix_type {