forc_doc::render::util

Function strip_generic_suffix

Source
pub fn strip_generic_suffix(input: &str) -> &str
Expand description

Strip the generic suffix from a type name. For example, Foo<T> would become Foo.