Skip to content

Commit b4c33da

Browse files
AxiomaticSemanticsebola
AxiomaticSemantics
and
ebola
authored
Fix typos in safety comment (#10827)
# Objective - Minor fix for typos in safety comment - Fix the typos. Co-authored-by: ebola <dev@axiomatic>
1 parent cbf39b7 commit b4c33da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/query/iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ impl<'w, 's, Q: WorldQueryData, F: WorldQueryFilter> QueryIter<'w, 's, Q, F> {
8181
) where
8282
Func: FnMut(Q::Item<'w>),
8383
{
84-
// SAFETY: Caller assures that either Q::IS_DENSE or F::IS_DENSE are falsae, that archetype matches Q and F
85-
// and all indicies in rows are in range.
84+
// SAFETY: Caller assures that either Q::IS_DENSE or F::IS_DENSE are false, that archetype matches Q and F
85+
// and all indices in rows are in range.
8686
unsafe {
8787
self.fold_over_archetype_range((), &mut |_, item| func(item), archetype, rows);
8888
}

0 commit comments

Comments
 (0)