mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04: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