mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
Add a colon to error message link (#12174)
# Objective - #12165 recently added links to Bevy errors in error messages. - The links were in the form of `See: https://bevyengine.org/learn/errors/#b000N` - B0004 does not have the colon separating `See` and the link, unlike the rest of the error messages ## Solution - Add a colon, for consistency :)
This commit is contained in:
parent
ecdd284b0e
commit
557e582ec5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ pub fn check_hierarchy_component_has_valid_parent<T: Component>(
|
|||
already_diagnosed.insert(entity);
|
||||
bevy_log::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")),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue