Skip to content

Commit

Permalink
refactor: resolve clippy::redundant_clone (#3717)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored Apr 24, 2023
1 parent 3432aab commit 2571af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-core/src/device/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2571af9

Please sign in to comment.