From a821dbb22d27169312810a81124dd26cafd09e23 Mon Sep 17 00:00:00 2001 From: clonidine Date: Mon, 27 Nov 2023 13:45:11 -0300 Subject: [PATCH 1/2] fix: removing unused import --- code/beginner/tutorial5-textures/src/texture.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/beginner/tutorial5-textures/src/texture.rs b/code/beginner/tutorial5-textures/src/texture.rs index 1c639b6be..ff38f20ca 100644 --- a/code/beginner/tutorial5-textures/src/texture.rs +++ b/code/beginner/tutorial5-textures/src/texture.rs @@ -1,5 +1,3 @@ -use std::num::NonZeroU32; - use anyhow::*; use image::GenericImageView; From 128815a25cd7b4994a98972fec09e477714e7651 Mon Sep 17 00:00:00 2001 From: clonidine Date: Mon, 27 Nov 2023 14:14:19 -0300 Subject: [PATCH 2/2] fix: removing unused imports --- code/beginner/tutorial6-uniforms/src/texture.rs | 2 -- code/beginner/tutorial7-instancing/src/texture.rs | 2 -- code/beginner/tutorial9-models/src/texture.rs | 1 - 3 files changed, 5 deletions(-) diff --git a/code/beginner/tutorial6-uniforms/src/texture.rs b/code/beginner/tutorial6-uniforms/src/texture.rs index 1c639b6be..ff38f20ca 100644 --- a/code/beginner/tutorial6-uniforms/src/texture.rs +++ b/code/beginner/tutorial6-uniforms/src/texture.rs @@ -1,5 +1,3 @@ -use std::num::NonZeroU32; - use anyhow::*; use image::GenericImageView; diff --git a/code/beginner/tutorial7-instancing/src/texture.rs b/code/beginner/tutorial7-instancing/src/texture.rs index 1c639b6be..ff38f20ca 100644 --- a/code/beginner/tutorial7-instancing/src/texture.rs +++ b/code/beginner/tutorial7-instancing/src/texture.rs @@ -1,5 +1,3 @@ -use std::num::NonZeroU32; - use anyhow::*; use image::GenericImageView; diff --git a/code/beginner/tutorial9-models/src/texture.rs b/code/beginner/tutorial9-models/src/texture.rs index 9727d2252..edc7669bf 100644 --- a/code/beginner/tutorial9-models/src/texture.rs +++ b/code/beginner/tutorial9-models/src/texture.rs @@ -1,6 +1,5 @@ use anyhow::*; use image::GenericImageView; -use std::num::NonZeroU32; pub struct Texture { pub texture: wgpu::Texture,