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

End statements with semicolon (clippy::semicolon_if_nothing_returned)

This commit is contained in:
Emil Ernerfeldt
2021-10-20 16:43:40 +02:00
parent ab3be8aca3
commit d97a369c44
35 changed files with 71 additions and 72 deletions

View File

@@ -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);
}
}

View File

@@ -200,6 +200,6 @@ impl EguiGlow {
}
pub fn destroy(&mut self, gl: &glow::Context) {
self.painter.destroy(gl)
self.painter.destroy(gl);
}
}

View File

@@ -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!(