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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user