sqruff_lib::rules::capitalisation::cp01

Function handle_segment

Source
pub fn handle_segment(
    description_elem: &str,
    extended_capitalisation_policy: &str,
    cap_policy_name: &str,
    seg: ErasedSegment,
    context: &RuleContext<'_>,
) -> LintResult