diff --git a/Cargo.toml b/Cargo.toml index d0fc257..beb3694 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,10 @@ bevy_egui = "0.24.0" chrono = "0.4.31" tracing-log = "0.2.0" tracing-subscriber = "0.3.18" +web-time = "0.2.4" +# built-in parser logos = { version = "0.13.0", optional = true } -web-time = "0.2.4" [target.'cfg(target_os = "android")'.dependencies] android_log-sys = "0.3.0" diff --git a/src/builtin_parser/runner/error.rs b/src/builtin_parser/runner/error.rs index 1472de0..166730a 100644 --- a/src/builtin_parser/runner/error.rs +++ b/src/builtin_parser/runner/error.rs @@ -89,7 +89,9 @@ impl RunError { span, } => todo!(), EnumVariantNotFound { name, span } => todo!(), - CannotMoveOutOfResource(Spanned { value, .. }) => format!("Cannot move out of resource `{value}`, try borrowing it instead.").into(), + CannotMoveOutOfResource(Spanned { value, .. }) => { + format!("Cannot move out of resource `{value}`, try borrowing it instead.").into() + } } } } diff --git a/src/command.rs b/src/command.rs index b6d9148..92ad1a1 100644 --- a/src/command.rs +++ b/src/command.rs @@ -114,6 +114,7 @@ impl CommandHints { /// # use bevy::ecs::world::World; /// # use bevy_dev_console::command::CommandParser; /// # use bevy::log::info; +/// # use bevy_dev_console::ui::COMMAND_RESULT_NAME; /// /// pub struct MyCustomParser; /// impl CommandParser for MyCustomParser {