Skip to main content

toml_omit_empty_value

Function toml_omit_empty_value 

Source
pub fn toml_omit_empty_value(value: &str) -> Result<String, Error>
Expand description

Removes empty tables/sections from a TOML string

§Arguments

  • value - TOML string to process

§Returns

Result containing the processed TOML string with empty sections removed