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 withApp::init_resource()
orApp::insert_resource()
instead of withApp::add_event()
. - insert_
unit_ bundle - Checks for calls to
Commands::spawn()
that inserts unit()
as a component. - iter_
current_ update_ events - Checks for calls to
Events::<T>::iter_current_update_events()
.