Skip to content

Commit

Permalink
Merge pull request hannobraun#2343 from hannobraun/rust
Browse files Browse the repository at this point in the history
Upgrade to Rust 1.78.0
  • Loading branch information
hannobraun authored May 6, 2024
2 parents 57d61b3 + 1dcb36b commit 0e83bf9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions crates/fj-viewer/src/graphics/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.77.0"
channel = "1.78.0"
components = ["rustfmt", "clippy"]
targets = [
"aarch64-apple-ios",
Expand Down

0 comments on commit 0e83bf9

Please sign in to comment.