diff --git a/examples/ecs/fallible_params.rs b/examples/ecs/fallible_params.rs index b4f2ec7a19e2a..6100154c2828e 100644 --- a/examples/ecs/fallible_params.rs +++ b/examples/ecs/fallible_params.rs @@ -134,9 +134,9 @@ fn move_targets(mut enemies: Populated<(&mut Transform, &mut Enemy)>, time: Res< /// If there is one, player will track it. /// If there are too many enemies, the player will cease all action (the system will not run). fn move_pointer( - // `QuerySingle` ensures the system runs ONLY when exactly one matching entity exists. + // `Single` ensures the system runs ONLY when exactly one matching entity exists. mut player: Single<(&mut Transform, &Player)>, - // `Option` ensures that the system runs ONLY when zero or one matching entity exists. + // `Option` ensures that the system runs ONLY when zero or one matching entity exists. enemy: Option, Without)>>, time: Res