From 0a79a0ac8c1fe2b50be3cd3f222e578f69263c1a Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Sun, 8 Sep 2024 10:11:17 -0700 Subject: [PATCH] Fix error link (#15082) # Objective A previous issue describes the same problem: #14248. This particular link was seemingly missed by #14276. ## Solution - Search repo for `bevyengine.org/learn/errors/#` - Remove `#` - Verify link goes to right place --- crates/bevy_ecs/src/system/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/system/commands/mod.rs b/crates/bevy_ecs/src/system/commands/mod.rs index 55468cbcad..c6676fa26a 100644 --- a/crates/bevy_ecs/src/system/commands/mod.rs +++ b/crates/bevy_ecs/src/system/commands/mod.rs @@ -1049,7 +1049,7 @@ impl EntityCommands<'_> { let caller = Location::caller(); // SAFETY: same invariants as parent call self.add(unsafe {insert_by_id(component_id, value, move |entity| { - panic!("error[B0003]: {caller}: Could not insert a component {component_id:?} (with type {}) for entity {entity:?} because it doesn't exist in this World. See: https://bevyengine.org/learn/errors/#b0003", std::any::type_name::()); + panic!("error[B0003]: {caller}: Could not insert a component {component_id:?} (with type {}) for entity {entity:?} because it doesn't exist in this World. See: https://bevyengine.org/learn/errors/b0003", std::any::type_name::()); })}) }