bevy_lint::lints::insert_event_resource

Static INSERT_EVENT_RESOURCE

Source
pub static INSERT_EVENT_RESOURCE: &BevyLint
Expand description

Click me for more information.

Lint {
    name: "bevy::INSERT_EVENT_RESOURCE",
    group: SUSPICIOUS,
    description: "called `App::insert_resource(Events<T>)` or `App::init_resource::<Events<T>>()` instead of `App::add_event::<T>()`",
}