Function rustfmt_nightly::items::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.