rustdoc::clean

Function clean_fn_decl_legacy_const_generics

source
fn clean_fn_decl_legacy_const_generics(func: &mut Function, attrs: &[Attribute])
Expand description

This is needed to make it more “readable” when documenting functions using rustc_legacy_const_generics. More information in https://github.com/rust-lang/rust/issues/83167.