Skip to content

Commit

Permalink
Fix Link in valid_parent_check_plugin.rs (#6584)
Browse files Browse the repository at this point in the history
# Objective

Link doesn't get to right segment

## Solution

Fix link
  • Loading branch information
DasLixou committed Nov 13, 2022
1 parent f7c8eb7 commit e48c05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_hierarchy/src/valid_parent_check_plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn check_hierarchy_component_has_valid_parent<T: Component>(
already_diagnosed.insert(entity);
warn!(
"warning[B0004]: {name} with the {ty_name} component has a parent without {ty_name}.\n\
This will cause inconsistent behaviors! See https://bevyengine.org/learn/errors/#B0004",
This will cause inconsistent behaviors! See https://bevyengine.org/learn/errors/#b0004",
ty_name = get_short_name(std::any::type_name::<T>()),
name = name.map_or("An entity".to_owned(), |s| format!("The {s} entity")),
);
Expand Down

0 comments on commit e48c05c

Please sign in to comment.