mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
fix(core): satisfy realtime clippy lint
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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())
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user