Skip to main content

run_fmt_step

Function run_fmt_step 

Source
pub fn run_fmt_step(
    runner: &(dyn Fn(&Path, &CommandSpec) -> Result<CapturedOutput, SpawnError> + 'static),
    root: &Path,
    workspace: &Workspace,
) -> Result<ToolStep, SpawnError>
Expand description

Runs formatting, or returns passed when the manifest-derived selection is empty.