Function ra_ap_sourcegen::ensure_file_contents[][src]

pub fn ensure_file_contents(file: &Path, contents: &str)
Expand description

Checks that the file has the specified contents. If that is not the case, updates the file and then fails the test.