Module suspicious

Source
Expand description

Lints that checks for suspicious, potentially incorrect code.

Unlike correctness lints, these may have false positives that you need to #[allow(...)].

These lints are warn by default.

Modulesยง

insert_event_resource
Checks for the Events<T> resource being manually inserted with App::init_resource() or App::insert_resource() instead of with App::add_event().
iter_current_update_events
Checks for calls to Events::<T>::iter_current_update_events().
unit_in_bundle
Checks for Bundles that contain the unit () as a component.