codex: fix remaining lint on PR #14903

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-17 21:36:45 +00:00
parent a49c15ba07
commit 57f2d0c7f0

View File

@@ -983,7 +983,7 @@ fn update_output_audio_state(
fn audio_duration_ms(frame: &RealtimeAudioFrame) -> u32 {
let Some(samples_per_channel) = frame
.samples_per_channel
.or_else(|| decoded_samples_per_channel(frame))
.or(decoded_samples_per_channel(frame))
else {
return 0;
};