nextest_runner::indenter

Type Alias Inserter

source
pub type Inserter = dyn FnMut(usize, &mut dyn WriteStr) -> Result<()>;
Expand description

A callback for Format::Custom used to insert indenation after a new line

The first argument is the line number within the output, starting from 0