Skip to content

Commit 0a79a0a

Browse files
authored
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
1 parent 6ec6a55 commit 0a79a0a

File tree

1 file changed

+1
-1
lines changed
  • crates/bevy_ecs/src/system/commands

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/system/commands/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ impl EntityCommands<'_> {
10491049
let caller = Location::caller();
10501050
// SAFETY: same invariants as parent call
10511051
self.add(unsafe {insert_by_id(component_id, value, move |entity| {
1052-
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::<T>());
1052+
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::<T>());
10531053
})})
10541054
}
10551055

0 commit comments

Comments
 (0)