Skip to main content

write_table

Function write_table 

Source
pub fn write_table(table: &Table, out: &mut String) -> Result<(), Error>
Expand description

Writes table to out in the toml 0.5 pretty format.

Returns an error if a non-table value follows a table or array of tables within the same parent. This matches toml 0.5’s ValueAfterTable error.