Skip to content

Commit 812dec6

Browse files
committed
Typo correction
1 parent cb4cd1c commit 812dec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/system/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ use std::{any::TypeId, borrow::Borrow, fmt::Debug};
246246
/// As iterators are in general more flexible and better integrated with the rest of the Rust ecosystem,
247247
/// it is advised to use `iter` methods over `for_each`.
248248
/// It is strongly advised to only use `for_each` if it tangibly improves performance:
249-
/// be sure profile or benchmark both before and after the change.
249+
/// be sure to profile or benchmark both before and after the change.
250250
///
251251
/// [binomial coefficient]: https://en.wikipedia.org/wiki/Binomial_coefficient
252252
/// [`iter`]: Self::iter

0 commit comments

Comments
 (0)