pub fn format_generics_for_item(item: &Item, kind: &str) -> StringExpand description
Extract generic params from the inner block of any item kind (struct/enum/trait/type alias).
Returns a formatted <T, 'a, const N: usize> string, or empty string if none.