diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 8d57e8160219d..d869ace3ca713 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -164,6 +164,10 @@ impl App { /// /// Finalizes the [`App`] configuration. For general usage, see the example on the item /// level documentation. + /// + /// # Panics + /// + /// Panics if called from `Plugin::build()`, because it would prevent other plugins to properly build. pub fn run(&mut self) { #[cfg(feature = "trace")] let _bevy_app_run_span = info_span!("bevy_app").entered();