rustfmt_nightly::items

Function rewrite_mod

Source
pub(crate) fn rewrite_mod(
    context: &RewriteContext<'_>,
    item: &Item,
    attrs_shape: Shape,
) -> Option<String>
Expand description

Rewrite an inline mod. The given shape is used to format the mod’s attributes.