1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

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

View File

@@ -274,7 +274,7 @@ pub fn preferred_framebuffer_format(
}
formats
.get(0)
.first()
.copied()
.ok_or(WgpuError::NoSurfaceFormatsAvailable)
}