codex: fix remaining lint on PR #14902

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-17 21:14:02 +00:00
parent de9f3d3835
commit b8d83bb0ef

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;
};