ecs: fix a typo in docs

This commit is contained in:
SeanOMik 2024-03-02 21:35:23 -05:00
parent 6210778e9d
commit c0df9f2d65
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ pub trait FnArgFetcher {
/// fetched on the fly. /// fetched on the fly.
/// ///
/// ```fail_compile /// ```fail_compile
/// fn enemy_movement_system(enemies: ViewState<(&Health, &EnemyStats, &Movement)>) -> anyhow::Result<()> { /// fn enemy_movement_system(enemies: View<(&Health, &EnemyStats, &Movement)>) -> anyhow::Result<()> {
/// for (health, stats, movement) in enemies.iter() { /// for (health, stats, movement) in enemies.iter() {
/// // ... /// // ...
/// } /// }