From 2571af9557eeba59f00f69649ae6bcd9d5a62392 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Mon, 24 Apr 2023 11:07:08 -0400 Subject: [PATCH] refactor: resolve `clippy::redundant_clone` (#3717) --- wgpu-core/src/device/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-core/src/device/mod.rs b/wgpu-core/src/device/mod.rs index 7c2a33a8b8..3ba58215b1 100644 --- a/wgpu-core/src/device/mod.rs +++ b/wgpu-core/src/device/mod.rs @@ -5485,7 +5485,7 @@ impl Global { if !caps.formats.contains(&config.format) { break 'outer E::UnsupportedFormat { requested: config.format, - available: caps.formats.clone(), + available: caps.formats, }; } if config.format.remove_srgb_suffix() != format.remove_srgb_suffix() {