Skip to content

Commit

Permalink
Fix clippy lint in unrelated code
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Jul 20, 2023
1 parent a8cf3ad commit a1efce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl TilemapTexture {
.usage
.contains(TextureUsages::COPY_SRC)
{
if let Some(mut image) = images.get_mut(handle) {
if let Some(image) = images.get_mut(handle) {
image.texture_descriptor.usage = TextureUsages::TEXTURE_BINDING
| TextureUsages::COPY_SRC
| TextureUsages::COPY_DST;
Expand Down

0 comments on commit a1efce2

Please sign in to comment.