Skip to content

Conversation

@IronGremlin
Copy link

Objective

It's easy for users to stumble across World::query or DeferredWorld::query but then be somewhat mystified as to how one goes about constructing a QueryState without getting into a knife fight with the borrow checker and/or requiring a &mut World they may not have.

Solution

Provide users with a practical example that answers this question in a place in the docs they're likely to end up in regardless of which angle they encounter this problem from.

Testing

N/A

Showcase

N/A

@github-actions
Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant