Skip to content

Commit

Permalink
Fix a few typos (#13404)
Browse files Browse the repository at this point in the history
# Objective

Fix a few typos I spotted while looking over #13347

## Solution

Fix em
  • Loading branch information
rparrett authored Jun 4, 2024
1 parent ec7b349 commit ab2add6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ use std::{
#[diagnostic::on_unimplemented(
message = "`{Self}` is not an `Event`",
label = "invalid `Event`",
note = "consider annotating `{Self}` with `#[derive(Event]`"
note = "consider annotating `{Self}` with `#[derive(Event)]`"
)]
pub trait Event: Send + Sync + 'static {}

/// An `EventId` uniquely identifies an event stored in a specific [`World`].
///
/// An `EventId` can among other things be used to trace the flow of an event from the point it was
/// sent to the point it was processed. `EventId`s increase montonically by send order.
/// sent to the point it was processed. `EventId`s increase monotonically by send order.
///
/// [`World`]: crate::world::World
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
Expand Down

0 comments on commit ab2add6

Please sign in to comment.