From 68d71644fa0518f78c1e75e86b996667ee328f15 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Thu, 16 May 2024 18:29:34 -0700 Subject: [PATCH] Fix a few typos --- crates/bevy_ecs/src/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/event.rs b/crates/bevy_ecs/src/event.rs index 871dd3af21e62..18f491a074d4d 100644 --- a/crates/bevy_ecs/src/event.rs +++ b/crates/bevy_ecs/src/event.rs @@ -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))]