Skip to main content

toml_write

Function toml_write 

Source
fn toml_write(
    text: &str,
    rules: &Rules,
    changes: &[(&str, Option<&str>)],
    renamed: bool,
) -> Result<String, String>
Expand description

Sets or takes out entries in a TOML file’s text, keeping the rest as written; renamed: the file has another name than its record’s (Keyed::also).