diff --git a/crates/bevy_pbr/src/material.rs b/crates/bevy_pbr/src/material.rs index dc062d60dd914..34794b15f06b9 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(other) => { - Err(PrepareAssetError::AsBindGroupError(other)) + Err(e) => { + Err(PrepareAssetError::AsBindGroupError(e)) } } }