Hide associated type Kind as implementation detail

This commit is contained in:
Tim Blackbird 2025-07-15 20:45:46 +02:00
parent 8035f60e91
commit 060c183fe3

View File

@ -95,7 +95,7 @@ use core::{
note = "consider annotating `{Self}` with `#[derive(BroadcastEvent)]` or `#[derive(EntityEvent)]`" note = "consider annotating `{Self}` with `#[derive(BroadcastEvent)]` or `#[derive(EntityEvent)]`"
)] )]
pub trait Event: Send + Sync + 'static { pub trait Event: Send + Sync + 'static {
/// #[doc(hidden)]
type Kind; type Kind;
/// Generates the [`EventKey`] for this event type. /// Generates the [`EventKey`] for this event type.