You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling .single, .single_mut, .resource, .resource_mut and so on can introduce surprising crashes to your production game.
We should pair this with a recommendation to use equivalent lints around unwrap and expect in clippy, so coders don't just change .single() to .get_single().unwrap().
We probably want to split this into two lints, one for query data and the other for resources.
The text was updated successfully, but these errors were encountered:
Calling .single, .single_mut, .resource, .resource_mut and so on can introduce surprising crashes to your production game.
We should pair this with a recommendation to use equivalent lints around unwrap and expect in clippy, so coders don't just change .single() to
.get_single().unwrap()
.We probably want to split this into two lints, one for query data and the other for resources.
The text was updated successfully, but these errors were encountered: