From 9015d1e0f349e83e7402b08be9c5dae88289e117 Mon Sep 17 00:00:00 2001 From: Greeble <166992735+greeble-dev@users.noreply.github.com> Date: Wed, 19 Mar 2025 18:45:02 +0000 Subject: [PATCH] Fixed missing import. --- crates/bevy_ecs/src/error/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/error/handler.rs b/crates/bevy_ecs/src/error/handler.rs index c957784dc8b58..af3e45f89219d 100644 --- a/crates/bevy_ecs/src/error/handler.rs +++ b/crates/bevy_ecs/src/error/handler.rs @@ -85,7 +85,7 @@ impl ErrorContext { /// To use this error handler in your app for custom error handling logic: /// /// ```rust -/// use bevy_ecs::error::{GLOBAL_ERROR_HANDLER, BevyError, ErrorContext, panic}; +/// use bevy_ecs::error::{default_error_handler, GLOBAL_ERROR_HANDLER, BevyError, ErrorContext, panic}; /// /// fn handle_errors(error: BevyError, ctx: ErrorContext) { /// let error_handler = default_error_handler();