Skip to main content

make_document_owned

Function make_document_owned 

Source
fn make_document_owned(
    document: Spanned<DeTable<'_>>,
) -> Spanned<DeTable<'static>>
Expand description

Transform the parsed TOML document so that all its values are owned, so that it has a ’static lifetime, to make it easier to work with it.