fn upsert_toml_value(
document: &mut DocumentMut,
value: &str,
key: &str,
) -> Result<()>Expand description
Inserts or replaces the value at key in a TOML document, creating intermediate tables if
necessary.
Only the item at key is rewritten, so comments and formatting elsewhere in the document are
kept.