Function rustc_span::remove_bom
source · [−]pub(crate) fn remove_bom(
src: &mut String,
normalized_pos: &mut Vec<NormalizedPos>
)
Expand description
Removes UTF-8 BOM, if any.
pub(crate) fn remove_bom(
src: &mut String,
normalized_pos: &mut Vec<NormalizedPos>
)
Removes UTF-8 BOM, if any.