diff --git a/crates/bevy_pbr/src/material.rs b/crates/bevy_pbr/src/material.rs index 34794b15f06b9..dc062d60dd914 100644 --- a/crates/bevy_pbr/src/material.rs +++ b/crates/bevy_pbr/src/material.rs @@ -953,8 +953,8 @@ impl RenderAsset for PreparedMaterial { Err(AsBindGroupError::RetryNextUpdate) => { Err(PrepareAssetError::RetryNextUpdate(material)) } - Err(e) => { - Err(PrepareAssetError::AsBindGroupError(e)) + Err(other) => { + Err(PrepareAssetError::AsBindGroupError(other)) } } }