mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
End statements with semicolon (clippy::semicolon_if_nothing_returned)
This commit is contained in:
@@ -16,7 +16,7 @@ impl epi::TextureAllocator for Painter {
|
||||
}
|
||||
|
||||
fn free(&mut self, id: egui::TextureId) {
|
||||
self.free_user_texture(id)
|
||||
self.free_user_texture(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -200,6 +200,6 @@ impl EguiGlow {
|
||||
}
|
||||
|
||||
pub fn destroy(&mut self, gl: &glow::Context) {
|
||||
self.painter.destroy(gl)
|
||||
self.painter.destroy(gl);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,7 +365,7 @@ impl Painter {
|
||||
|
||||
let size_in_pixels = unsafe { self.prepare_painting(gl_window, gl, pixels_per_point) };
|
||||
for egui::ClippedMesh(clip_rect, mesh) in clipped_meshes {
|
||||
self.paint_mesh(gl, size_in_pixels, pixels_per_point, clip_rect, &mesh)
|
||||
self.paint_mesh(gl, size_in_pixels, pixels_per_point, clip_rect, &mesh);
|
||||
}
|
||||
|
||||
assert_eq!(
|
||||
|
||||
Reference in New Issue
Block a user