Skip to main content

rewrite

Function rewrite 

Source
pub fn rewrite(items: &[Item], actuals: &[String]) -> String
Expand description

Reproduce a script file with each stanza’s expected output replaced by its actual output, for REWRITE. actuals has one entry per Item::Stanza, in order.