diff --git a/src/render/draw_target/draw_target.rs b/src/render/draw_target/draw_target.rs index 30f81f0efb..e0227ef61b 100644 --- a/src/render/draw_target/draw_target.rs +++ b/src/render/draw_target/draw_target.rs @@ -23,7 +23,6 @@ pub trait DrawTarget { _renderer: &mut dyn Renderer, _pipeline_handle: Handle, ) { - } fn get_name(&self) -> String; } diff --git a/src/render/draw_target/draw_targets/meshes_draw_target.rs b/src/render/draw_target/draw_targets/meshes_draw_target.rs index 2d6bddc6d1..bae7947159 100644 --- a/src/render/draw_target/draw_targets/meshes_draw_target.rs +++ b/src/render/draw_target/draw_targets/meshes_draw_target.rs @@ -5,7 +5,7 @@ use crate::{ draw_target::DrawTarget, pipeline::PipelineDescriptor, render_resource::{resource_name, ResourceInfo}, - renderer::{RenderPass, Renderer}, + renderer::RenderPass, Instanced, Renderable, }, }; diff --git a/src/render/render_resource/resource_provider.rs b/src/render/render_resource/resource_provider.rs index b076c7c098..1fca206f0c 100644 --- a/src/render/render_resource/resource_provider.rs +++ b/src/render/render_resource/resource_provider.rs @@ -9,7 +9,8 @@ pub trait ResourceProvider { _resources: &Resources, ) { } - fn update(&mut self, _renderer: &mut dyn Renderer, _world: &mut World, _resources: &Resources) {} + fn update(&mut self, _renderer: &mut dyn Renderer, _world: &mut World, _resources: &Resources) { + } fn resize( &mut self, _renderer: &mut dyn Renderer,