rustfmt_nightly::expr

Function wrap_struct_field

Source
pub(crate) fn wrap_struct_field(
    context: &RewriteContext<'_>,
    attrs: &[Attribute],
    fields_str: &str,
    shape: Shape,
    nested_shape: Shape,
    one_line_width: usize,
) -> Result<String, RewriteError>