Skip to content

Commit

Permalink
lint: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
philiplinden committed Nov 22, 2024
1 parent 56c23ee commit 6c18c04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/simulator/ideal_gas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn update_ideal_gas_volume_from_pressure(
mut query: Query<(&mut Volume, &Temperature, &Pressure, &SimMass, &GasSpecies), With<IdealGas>>,
) {
for (mut volume, temperature, pressure, mass, species) in query.iter_mut() {
*volume = ideal_gas_volume(*temperature, *pressure, *mass, &species);
*volume = ideal_gas_volume(*temperature, *pressure, *mass, species);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/simulator/properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::ops::{Add, Div, Mul, Sub};

use avian3d::{
math::{Scalar, PI},
prelude::{ColliderDensity, ColliderMassProperties, PhysicsSet, RigidBody},
prelude::{ColliderDensity, ColliderMassProperties, PhysicsSet},
};
use bevy::{prelude::*, reflect::Reflect};
#[cfg(feature = "config-files")]
Expand Down

0 comments on commit 6c18c04

Please sign in to comment.