strip_stdlib_prefixes

Function strip_stdlib_prefixes 

Source
pub fn strip_stdlib_prefixes(type_expr: &str) -> String
Expand description

Strip standard library prefixes from type expressions

Removes prefixes like “typing.”, “builtins.”, “collections.abc.”, etc. while preserving the structure of complex type expressions.