Skip to content

Commit c98c3a8

Browse files
committed
wgpu: fix clippy
1 parent a589f2f commit c98c3a8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

generated/graphics/wgpu/cargo-gpu/mygraphics/src/wgpu_renderer/swapchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'a> MySwapchainManager<'a> {
8585
self.should_recreate = true;
8686
}
8787
Err(e) => {
88-
anyhow::bail!("get_current_texture() failed: {}", e)
88+
anyhow::bail!("get_current_texture() failed: {e}")
8989
}
9090
};
9191
}

generated/graphics/wgpu/spirv-builder/mygraphics/src/wgpu_renderer/swapchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'a> MySwapchainManager<'a> {
8585
self.should_recreate = true;
8686
}
8787
Err(e) => {
88-
anyhow::bail!("get_current_texture() failed: {}", e)
88+
anyhow::bail!("get_current_texture() failed: {e}")
8989
}
9090
};
9191
}

graphics/mygraphics/src/wgpu_renderer/swapchain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'a> MySwapchainManager<'a> {
8585
self.should_recreate = true;
8686
}
8787
Err(e) => {
88-
anyhow::bail!("get_current_texture() failed: {}", e)
88+
anyhow::bail!("get_current_texture() failed: {e}")
8989
}
9090
};
9191
}

0 commit comments

Comments
 (0)