From f2c3b162362ab96f1f4e589f415eb0d6aa0551ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Mockers?= Date: Mon, 18 Oct 2021 18:32:12 +0200 Subject: [PATCH] missed a few rename --- crates/bevy_app/src/app.rs | 2 +- crates/bevy_log/src/lib.rs | 2 +- examples/app/logs.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/bevy_app/src/app.rs b/crates/bevy_app/src/app.rs index 1bcaac2e8c9da0..14655aafe10e88 100644 --- a/crates/bevy_app/src/app.rs +++ b/crates/bevy_app/src/app.rs @@ -617,7 +617,7 @@ impl App { self } - /// Consumes a startup resource, and removes it from the current [App] so that a plugin + /// Consumes an initialization resource, and removes it from the current [App] so that a plugin /// can use it for its configuration. pub fn consume_initialization_resource(&mut self) -> Option where diff --git a/crates/bevy_log/src/lib.rs b/crates/bevy_log/src/lib.rs index ec39ff331230e2..e18be753e78cf0 100644 --- a/crates/bevy_log/src/lib.rs +++ b/crates/bevy_log/src/lib.rs @@ -26,7 +26,7 @@ use tracing_subscriber::{prelude::*, registry::Registry, EnvFilter}; /// * Using [`tracing-wasm`](https://crates.io/crates/tracing-wasm) in WASM, logging /// to the browser console. /// -/// You can configure this plugin using the startup resource [`LogSettings`]. +/// You can configure this plugin using the initialization resource [`LogSettings`]. /// ```no_run /// # use bevy_internal::DefaultPlugins; /// # use bevy_app::App; diff --git a/examples/app/logs.rs b/examples/app/logs.rs index e90b7ebccecbca..40cc463fb293c8 100644 --- a/examples/app/logs.rs +++ b/examples/app/logs.rs @@ -23,7 +23,7 @@ fn log_system() { error!("something failed"); // by default, trace and debug logs are ignored because they are "noisy" - // you can control what level is logged by adding the LogSettings startup resource + // you can control what level is logged by adding the LogSettings initialization resource // alternatively you can set the log level via the RUST_LOG=LEVEL environment variable // ex: RUST_LOG=trace, RUST_LOG=info,bevy_ecs=warn // the format used here is super flexible. check out this documentation for more info: