refactor: resolve clippy::redundant_clone (#3717)

This commit is contained in:
Erich Gubler authored and GitHub committed 2023-04-24 17:07:08 +02:00
1 parent 3432aabab1
commit 2571af9557
1 file changed
+1 -1
+1 -1
View File
@@ -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() {