[][src]Function c2rust_refactor::rewrite::files::rewrite_files_with

pub fn rewrite_files_with(
    cm: &SourceMap,
    rw: &TextRewrite,
    io: &dyn FileIO
) -> Result<()>

Apply a sequence of rewrites to the source code, handling the results by passing the new text to callback along with the SourceFile describing the original source file.