diff --git a/examples/shader/custom_phase_item.rs b/examples/shader/custom_phase_item.rs index 45bca5652b..e8d7f36d29 100644 --- a/examples/shader/custom_phase_item.rs +++ b/examples/shader/custom_phase_item.rs @@ -339,10 +339,7 @@ impl FromWorld for CustomPhasePipeline { let specialized_cache = SpecializedCache::new(CustomPhaseSpecializer, None, base_descriptor); - Self { - _shader: shader, - specialized_cache, - } + Self { specialized_cache } } }