Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldreingruber-dedalus committed Jun 4, 2022
1 parent fd2cbdc commit c2cba40
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions wgpu/examples/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ async fn setup<E: Example>(title: &str) -> Setup {
}

fn start<E: Example>(
#[cfg(not(target_arch = "wasm32"))]
Setup {
#[cfg(not(target_arch = "wasm32"))] Setup {
window,
event_loop,
instance,
Expand All @@ -255,8 +254,7 @@ fn start<E: Example>(
device,
queue,
}: Setup,
#[cfg(target_arch = "wasm32")]
Setup {
#[cfg(target_arch = "wasm32")] Setup {
window,
event_loop,
instance,
Expand Down

0 comments on commit c2cba40

Please sign in to comment.