Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify that
bevy_app::App.world()
(and mut variant) returns the ma…
…in `SubApp`'s `World` (#16527) # Objective The documentation for `bevy_app::App.world()` (and its mut variant) could confuse some into thinking that this is the only World that the App will contain. ## Solution Clarify the documentation for `bevy_app::App.world()` (and its mut variant), to say that it returns the main subapp's world. This helps imply that Apps can contain more than one world (albeit, only one per SubApp). ## Testing This is a documentation change, with no changes to doctests. Thus, testing is not necessary beyond ensuring the link syntax is correct.
- Loading branch information