From cf0304884eef3b78aec2d56a2254cfbd254f3d12 Mon Sep 17 00:00:00 2001 From: 2ne1ugly <47616772+2ne1ugly@users.noreply.github.com> Date: Mon, 9 Jan 2023 22:34:12 +0900 Subject: [PATCH] Fix doc in `App::add_sub_app` --- crates/bevy_app/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 16caea1be6c47..36b1d61c40dfd 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -997,7 +997,7 @@ impl App { /// Adds an [`App`] as a child of the current one. /// - /// The provided function `f` is called by the [`update`](Self::update) method. The [`World`] + /// The provided function `sub_app_runner` is called by the [`update`](Self::update) method. The [`World`] /// parameter represents the main app world, while the [`App`] parameter is just a mutable /// reference to the `SubApp` itself. pub fn add_sub_app(