mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
Fix documentation of SubApp
extract
(#8747)
# Objective The `extract` function is given the main app world, and the subapp, not vice versa as the comment would lead us to believe. ## Solution Fix the doc.
This commit is contained in:
parent
278daab6ae
commit
1977b6daf2
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ pub struct SubApp {
|
|||
/// The [`SubApp`]'s instance of [`App`]
|
||||
pub app: App,
|
||||
|
||||
/// A function that allows access to both the [`SubApp`] [`World`] and the main [`App`]. This is
|
||||
/// A function that allows access to both the main [`App`] [`World`] and the [`SubApp`]. This is
|
||||
/// useful for moving data between the sub app and the main app.
|
||||
extract: Box<dyn Fn(&mut World, &mut App) + Send>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue