Skip to main content

session_to_toml

Function session_to_toml 

Source
pub fn session_to_toml(session: &Session) -> Result<String>
Expand description

Convert a Session to a TOML string for editing.

Prepends a comment block explaining what’s editable.

§Errors

Returns an error if TOML serialization fails.