Skip to main content

write_index_symbol

Function write_index_symbol 

Source
pub(crate) fn write_index_symbol(
    f: &mut Formatter<'_>,
    state: Option<&IndexState>,
    dimmed: bool,
) -> Result
Expand description

Write an index state symbol directly to the formatter, avoiding .to_string() allocations.