rustc_span

Function remove_bom

Source
pub(crate) fn remove_bom(
    src: &mut String,
    normalized_pos: &mut Vec<NormalizedPos>,
)
Expand description

Removes UTF-8 BOM, if any.