mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
refactor: resolve clippy::redundant_clone (#3717)
This commit is contained in:
@@ -5485,7 +5485,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
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() {
|
||||
|
||||
Reference in New Issue
Block a user