Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Oct 19, 2024
1 parent 26ba0cf commit e5f2907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_pbr/src/volumetric_fog/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl ExtractComponent for FogVolume {
fn extract_component(
(fog_volume, global_transform): QueryItem<'_, Self::QueryData>,
) -> Option<Self::Out> {
Some((fog_volume.clone(), global_transform.clone()))
Some((fog_volume.clone(), *global_transform))
}
}

Expand Down

0 comments on commit e5f2907

Please sign in to comment.