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
@ -31,14 +31,14 @@ use std::{
|
|||||||
#[diagnostic::on_unimplemented(
|
#[diagnostic::on_unimplemented(
|
||||||
message = "`{Self}` is not an `Event`",
|
message = "`{Self}` is not an `Event`",
|
||||||
label = "invalid `Event`",
|
label = "invalid `Event`",
|
||||||
note = "consider annotating `{Self}` with `#[derive(Event]`"
|
note = "consider annotating `{Self}` with `#[derive(Event)]`"
|
||||||
)]
|
)]
|
||||||
pub trait Event: Send + Sync + 'static {}
|
pub trait Event: Send + Sync + 'static {}
|
||||||
|
|
||||||
/// An `EventId` uniquely identifies an event stored in a specific [`World`].
|
/// 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
|
/// 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
|
/// [`World`]: crate::world::World
|
||||||
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
|
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user