From b23945c78a6e4600cde29b928941297d45cc3d1f Mon Sep 17 00:00:00 2001 From: Lain-dono Date: Thu, 16 Apr 2020 09:06:05 +0300 Subject: Change `&mut wgpu::Device` to `&wgpu::Device` (#299) * Change `&mut wgpu::Device` to `&wgpu::Device` * Fix for rustfmt --- wgpu/src/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wgpu/src/image.rs') diff --git a/wgpu/src/image.rs b/wgpu/src/image.rs index 7145f3f3..ea5dc09d 100644 --- a/wgpu/src/image.rs +++ b/wgpu/src/image.rs @@ -280,7 +280,7 @@ impl Pipeline { pub fn draw( &mut self, - device: &mut wgpu::Device, + device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, images: &[Image], transformation: Transformation, -- cgit