pub fn run(
spec: &FormatterSpec,
input: &str,
path: Option<&Path>,
) -> Result<String, FormatError>Expand description
Run spec over input, returning the formatted text.
Blocking, bounded by FORMAT_TIMEOUT. On timeout the child is
killed rather than left to leak.