Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Dec 22, 2023
1 parent 17770ef commit 56ff66e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions generator/templates/audio_context.tmpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,7 @@ fn suspend_offline(ctx: CallContext) -> Result<JsObject> {
clone.suspend_at(when).await;
Ok(())
},
|&mut env, _val| {
env.get_undefined()
},
|&mut env, _val| env.get_undefined(),
)
}

Expand All @@ -512,9 +510,7 @@ fn resume_offline(ctx: CallContext) -> Result<JsObject> {
clone.resume().await;
Ok(())
},
|&mut env, _val| {
env.get_undefined()
},
|&mut env, _val| env.get_undefined(),
)
}
`
Expand Down

0 comments on commit 56ff66e

Please sign in to comment.