1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

fix all clippy lints and remove them from allow list in cranky (#2419)

* manual range contains clippy lint removed from allow list
* removed multiple redundant allowed clippy lints
This commit is contained in:
Red Artist
2022-12-11 23:36:09 +05:30
committed by GitHub
parent 228f30ed46
commit 930ef2db38
5 changed files with 11 additions and 17 deletions

View File

@@ -146,12 +146,11 @@ impl RotatingTriangle {
),
);
gl.compile_shader(shader);
if !gl.get_shader_compile_status(shader) {
panic!(
"Failed to compile custom_3d_glow: {}",
gl.get_shader_info_log(shader)
);
}
assert!(
gl.get_shader_compile_status(shader),
"Failed to compile custom_3d_glow: {}",
gl.get_shader_info_log(shader)
);
gl.attach_shader(program, shader);
shader
})