Skip to content

Commit 36f34f8

Browse files
ruiren_microsoftCopilot
andcommitted
Fix cargo fmt: collapse single-arm match block
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d3d4334 commit 36f34f8

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

sdk/rust/src/openai/live_audio_client.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,9 @@ impl LiveAudioTranscriptionSession {
450450
reason: format!("Start audio stream task join error: {e}"),
451451
})?
452452
}
453-
None => {
454-
Err(FoundryLocalError::CommandExecution {
455-
reason: "Start cancelled".into(),
456-
})?
457-
}
453+
None => Err(FoundryLocalError::CommandExecution {
454+
reason: "Start cancelled".into(),
455+
})?,
458456
}
459457
} else {
460458
start_future

0 commit comments

Comments
 (0)