clippy_utils::source

Function expand_past_previous_comma

source
pub fn expand_past_previous_comma(sess: &impl HasSession, span: Span) -> Span
Expand description

Expand a span to include a preceding comma

writeln!(o, "")   ->   writeln!(o, "")
            ^^                   ^^^^