pub fn set_preserving(
content: &str,
path: &str,
value: &Value,
) -> DocumentResult<String>Expand description
Edit an existing scalar item in a TOML document without reserializing the
surrounding document. Comments, ordering, whitespace, and datetime syntax
outside the target remain owned by toml_edit::DocumentMut.