Skip to content

Commit

Permalink
Clippy police
Browse files Browse the repository at this point in the history
  • Loading branch information
pcwalton committed Dec 12, 2024
1 parent eb87190 commit bbacd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/3d/mixed_lighting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ fn update_lightmaps(
// Add or remove the lightmap from the sphere. We only apply the
// lightmap in fully-baked mode.
match (&lightmap, app_status.lighting_mode) {
(&Some(ref lightmap), LightingMode::Baked) => {
(Some(lightmap), LightingMode::Baked) => {
commands.entity(entity).insert(Lightmap {
image: (*lightmap).clone(),
uv_rect: SPHERE_UV_RECT,
Expand Down

0 comments on commit bbacd06

Please sign in to comment.