pub fn write_if_changed(path: &Path, text: &str) -> Result<bool>Expand description
Write text to path only if the content differs. Returns true when written.
Used by the derive macros to emit .d.tl files without churning cargo’s fingerprints.