Skip to main content

format_range

Function format_range 

Source
pub fn format_range(
    input: &str,
    config: &FormatConfig,
    start: usize,
    end: usize,
) -> Result<String>
Expand description

Format only lines within a range (1-indexed, inclusive). Lines outside the range pass through unchanged.