ecs: fix a typo in docs
This commit is contained in:
parent
6210778e9d
commit
c0df9f2d65
|
@ -37,7 +37,7 @@ pub trait FnArgFetcher {
|
|||
/// fetched on the fly.
|
||||
///
|
||||
/// ```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() {
|
||||
/// // ...
|
||||
/// }
|
||||
|
|
Loading…
Reference in New Issue