rustdoc::clean::utils

Function render_macro_arms

Source
fn render_macro_arms<'a>(
    tcx: TyCtxt<'_>,
    matchers: impl Iterator<Item = &'a TokenTree>,
    arm_delim: &str,
) -> String
Expand description

Render a sequence of macro arms in a format suitable for displaying to the user as part of an item declaration.