forc-doc 0.71.0

Build the documentation for the local package and all dependencies. The output is placed in `out/doc` in the same format as the project.
Documentation
1
2
3
4
5
6
7
//! Utilities for managing edge cases in rendering types and their corresponding documentation.
pub mod format;

/// Strip the generic suffix from a type name. For example, `Foo<T>` would become `Foo`.
pub fn strip_generic_suffix(input: &str) -> &str {
    input.split_once('<').map_or(input, |(head, _)| head)
}