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
@ -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 New Issue
Block a user