Skip to content

Commit

Permalink
update formatting to fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDeepgram committed Jul 23, 2024
1 parent 24ce8a8 commit 92a6b92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/common/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ pub enum Multichannel {
#[allow(missing_docs)]
Disabled,


#[allow(missing_docs)]
ModelPerChannel {
#[allow(missing_docs)]
Expand Down Expand Up @@ -1961,7 +1960,11 @@ impl Serialize for SerializableOptions<'_> {

// Multichannel with models is not enabled
// Use self.model field
Some(Multichannel::ModelPerChannel { models: None } | Multichannel::Enabled | Multichannel::Disabled) | None => {
Some(
Multichannel::ModelPerChannel { models: None }
| Multichannel::Enabled
| Multichannel::Disabled)
| None => {
if let Some(model) = model {
seq.serialize_element(&("model", model.as_ref()))?;
}
Expand Down

0 comments on commit 92a6b92

Please sign in to comment.