sqruff_lib::utils::reflow::helpers

Function deduce_line_indent

Source
pub fn deduce_line_indent(
    raw_segment: &ErasedSegment,
    root_segment: &ErasedSegment,
) -> SmolStr
Expand description

Given a raw segment, deduce the indent of its line.