diff --git a/crates/fj-viewer/src/graphics/model.rs b/crates/fj-viewer/src/graphics/model.rs index d0c9c77fd2..f14ffede2a 100644 --- a/crates/fj-viewer/src/graphics/model.rs +++ b/crates/fj-viewer/src/graphics/model.rs @@ -177,7 +177,6 @@ pub fn load_model( } pub trait DrawModel<'a> { - fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material); fn draw_mesh_instanced( &mut self, mesh: &'a Mesh, @@ -193,10 +192,6 @@ impl<'a, 'b> DrawModel<'b> for wgpu::RenderPass<'a> where 'b: 'a, { - fn draw_mesh(&mut self, mesh: &'b Mesh, material: &'b Material) { - self.draw_mesh_instanced(mesh, material, 0..1); - } - fn draw_mesh_instanced( &mut self, mesh: &'b Mesh, diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c62cad2b87..47b85fa65f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.77.0" +channel = "1.78.0" components = ["rustfmt", "clippy"] targets = [ "aarch64-apple-ios",