Skip to content

Commit ab2add6

Browse files
authored
Fix a few typos (#13404)
# Objective Fix a few typos I spotted while looking over #13347 ## Solution Fix em
1 parent ec7b349 commit ab2add6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/event.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ use std::{
3131
#[diagnostic::on_unimplemented(
3232
message = "`{Self}` is not an `Event`",
3333
label = "invalid `Event`",
34-
note = "consider annotating `{Self}` with `#[derive(Event]`"
34+
note = "consider annotating `{Self}` with `#[derive(Event)]`"
3535
)]
3636
pub trait Event: Send + Sync + 'static {}
3737

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

0 commit comments

Comments
 (0)