Skip to main content

load_toml_document

Function load_toml_document 

Source
pub fn load_toml_document(path: &Path) -> DocumentMut
Expand description

Loads a TOML file into an editable document, preserving comments and formatting. Returns an empty document when the file is missing or invalid.