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

Fix some minor clippy lints from the future

This commit is contained in:
Emil Ernerfeldt
2024-09-18 09:44:23 +02:00
parent 1474c17b0d
commit 4dd89e2052
10 changed files with 12 additions and 11 deletions

View File

@@ -1537,7 +1537,7 @@ impl Tessellator {
///
/// * `mesh`: the mesh to tessellate.
/// * `out`: triangles are appended to this.
pub fn tessellate_mesh(&mut self, mesh: &Mesh, out: &mut Mesh) {
pub fn tessellate_mesh(&self, mesh: &Mesh, out: &mut Mesh) {
if !mesh.is_valid() {
debug_assert!(false, "Invalid Mesh in Shape::Mesh");
return;