Skip to content

Commit

Permalink
Fix clippy::semicolon-if-nothing-returned
Browse files Browse the repository at this point in the history
  • Loading branch information
Themayu committed May 13, 2024
1 parent a2c2044 commit 73d2104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/query/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,13 +1420,13 @@ unsafe impl<'__w, T: Component> WorldQuery for Mut<'__w, T> {
archetype: &'w Archetype,
table: &'w Table,
) {
<&mut T as WorldQuery>::set_archetype(fetch, state, archetype, table)
<&mut T as WorldQuery>::set_archetype(fetch, state, archetype, table);
}

#[inline]
// Forwarded to `&mut T`
unsafe fn set_table<'w>(fetch: &mut WriteFetch<'w, T>, state: &ComponentId, table: &'w Table) {
<&mut T as WorldQuery>::set_table(fetch, state, table)
<&mut T as WorldQuery>::set_table(fetch, state, table);
}

#[inline(always)]
Expand Down

0 comments on commit 73d2104

Please sign in to comment.