Skip to main content

convert_str

Function convert_str 

Source
pub fn convert_str(
    text: &str,
    to: DistTargetFormat,
    format: &str,
) -> Result<Conversion>
Expand description

Parses text as format and writes it as to in one call. The warnings carry both the parse warnings and the writer’s fidelity losses.