rustfmt_nightly::items

Function rewrite_attrs

Source
fn rewrite_attrs(
    context: &RewriteContext<'_>,
    item: &Item,
    item_str: &str,
    shape: Shape,
) -> Option<String>
Expand description

Rewrite the attributes of an item.