Skip to content

Commit

Permalink
Typo correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilirad authored Jul 2, 2022
1 parent 29104da commit 6a9d885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ use std::{any::TypeId, borrow::Borrow, fmt::Debug};
/// As iterators are in general more flexible and better integrated with the rest of the Rust ecosystem,
/// it is advised to use `iter` methods over `for_each`.
/// It is strongly advised to only use `for_each` if it tangibly improves performance:
/// be sure profile or benchmark both before and after the change.
/// be sure to profile or benchmark both before and after the change.
///
/// [binomial coefficient]: https://en.wikipedia.org/wiki/Binomial_coefficient
/// [`iter`]: Self::iter
Expand Down

0 comments on commit 6a9d885

Please sign in to comment.