clippy_utils::macros

Function format_placeholder_format_span

Source
pub fn format_placeholder_format_span(
    placeholder: &FormatPlaceholder,
) -> Option<Span>
Expand description

Span of the : and format specifiers

format!("{:.}"), format!("{foo:.}")
          ^^                  ^^