Fix some clippy 1.75 lints (#3754)

This commit is contained in:
Emil Ernerfeldt
2023-12-30 11:23:21 +01:00
committed by GitHub
parent 4487f8ff9f
commit 9951fe0d36
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ pub fn preferred_framebuffer_format(
}
formats
.get(0)
.first()
.copied()
.ok_or(WgpuError::NoSurfaceFormatsAvailable)
}