fix(core): satisfy realtime clippy lint

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-03-17 20:05:26 +00:00
parent 847245d9fb
commit ced98986ed

View File

@@ -621,7 +621,7 @@ fn realtime_text_from_handoff_request(handoff: &RealtimeHandoffRequested) -> Opt
(!active_transcript.is_empty())
.then_some(active_transcript)
.or_else(|| {
(!handoff.input_transcript.is_empty()).then(|| handoff.input_transcript.clone())
(!handoff.input_transcript.is_empty()).then_some(handoff.input_transcript.clone())
})
}