//! Utilities for managing edge cases in rendering types and their corresponding documentation.
pubmodformat;/// Strip the generic suffix from a type name. For example, `Foo<T>` would become `Foo`.
pubfnstrip_generic_suffix(input:&str)->&str{
input.split_once('<').map_or(input,|(head, _)|head)}