[][src]Module c2rust_refactor::rewrite::files

Code for applying TextRewrites to the actual source files.

Functions

print_diff

Print a unified diff between lines of s1 and lines of s2.

rewrite_files_with

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.