mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(ci): remove import path from type names on compact-codec (#12125)
This commit is contained in:
@ -267,5 +267,5 @@ where
|
||||
}
|
||||
|
||||
pub fn type_name<T>() -> String {
|
||||
std::any::type_name::<T>().replace("::", "__")
|
||||
std::any::type_name::<T>().split("::").last().unwrap_or(std::any::type_name::<T>()).to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user