Skip to main content

TryPatchSource

Function TryPatchSource 

Source
fn TryPatchSource(Source: &str, MutatedAst: &File) -> Option<String>
Expand description

Attempt to reconstruct the output by splicing only the changed ranges. Returns None on any span resolution failure, triggering the fallback.