mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Make TypeRegistration::get_short_name() pub (#1571)
This would allow for example `bevy_mod_debugdump` to use it, instead of custom typename shortening.
This commit is contained in:
parent
891f6a1f48
commit
a7308155ee
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ impl TypeRegistration {
|
|||
self.name
|
||||
}
|
||||
|
||||
fn get_short_name(full_name: &str) -> String {
|
||||
pub fn get_short_name(full_name: &str) -> String {
|
||||
let mut short_name = String::new();
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue