Skip to main content

apply_code_customizations

Function apply_code_customizations 

Source
pub fn apply_code_customizations(
    tree: &mut GeneratedTree,
    changes: &[CodeCustomization],
) -> Result<()>
Expand description

Apply the entire sequence atomically in memory. Normal ownership protection still applies when writing: edits in output are never silently overwritten.