Fix typo in condition.rs (#8238)

# Objective

- Fixes a typo in the docs

## Solution

- Corrected the wording
This commit is contained in:
UncleScientist 2023-03-28 13:03:39 -04:00 committed by GitHub
parent ae31361949
commit 90579933f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -844,7 +844,7 @@ pub mod common_conditions {
/// ///
/// world.resource_mut::<Events<MyEvent>>().send(MyEvent); /// world.resource_mut::<Events<MyEvent>>().send(MyEvent);
/// ///
/// // A `MyEvent` event has been push so `my_system` will run /// // A `MyEvent` event has been pushed so `my_system` will run
/// app.run(&mut world); /// app.run(&mut world);
/// assert_eq!(world.resource::<Counter>().0, 1); /// assert_eq!(world.resource::<Counter>().0, 1);
/// ``` /// ```