mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Fix a few typos (#13404)
# Objective Fix a few typos I spotted while looking over #13347 ## Solution Fix em
This commit is contained in:
parent
ec7b3490f6
commit
ab2add64fa
1 changed files with 2 additions and 2 deletions
|
@ -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))]
|
||||
|
|
Loading…
Reference in a new issue