Skip to content

Commit 825970f

Browse files
fix clippy
1 parent 053929d commit 825970f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/world/entity_ref.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,8 +855,8 @@ fn sorted_remove<T: Eq + Ord + Copy>(source: &mut Vec<T>, remove: &[T]) {
855855

856856
// SAFETY: EntityLocation must be valid
857857
#[inline]
858-
pub(crate) unsafe fn get_mut<'w, T: Component>(
859-
world: &'w mut World,
858+
pub(crate) unsafe fn get_mut<T: Component>(
859+
world: &mut World,
860860
entity: Entity,
861861
location: EntityLocation,
862862
) -> Option<Mut<'_, T>> {

0 commit comments

Comments
 (0)