rustfmt_nightly::overflow

Function maybe_get_args_offset

Source
pub(crate) fn maybe_get_args_offset(
    callee_str: &str,
    args: &[OverflowableItem<'_>],
    config: &Config,
) -> Option<(bool, usize)>
Expand description

In case special-case style is required, returns an offset from which we start horizontal layout.