summaryrefslogtreecommitdiffstats
path: root/examples/integration_wgpu/src/main.rs
diff options
context:
space:
mode:
authorLibravatar 13r0ck <brock@szu.email>2023-01-27 13:25:04 -0700
committerLibravatar 13r0ck <brock@szu.email>2023-01-27 14:02:48 -0700
commit42b1bfe66d2407901c1ae640f80ce9e0d3c64b60 (patch)
tree2057c57df0c36096d1c3cd6334bc16e767f8169e /examples/integration_wgpu/src/main.rs
parente6092e81a42efe0bbaaad2e7ce475c25a379e672 (diff)
downloadiced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.tar.gz
iced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.tar.bz2
iced-42b1bfe66d2407901c1ae640f80ce9e0d3c64b60.zip
Fix: Clippy lint 'uninlined_format_args'
Diffstat (limited to 'examples/integration_wgpu/src/main.rs')
-rw-r--r--examples/integration_wgpu/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/integration_wgpu/src/main.rs b/examples/integration_wgpu/src/main.rs
index 70f9a48b..2a56b6fa 100644
--- a/examples/integration_wgpu/src/main.rs
+++ b/examples/integration_wgpu/src/main.rs
@@ -274,7 +274,7 @@ pub fn main() {
}
Err(error) => match error {
wgpu::SurfaceError::OutOfMemory => {
- panic!("Swapchain error: {}. Rendering cannot continue.", error)
+ panic!("Swapchain error: {error}. Rendering cannot continue.")
}
_ => {
// Try rendering again next frame.