[][src]Function i18n_build::util::rename_file

pub fn rename_file<P1: AsRef<Path>, P2: AsRef<Path>>(
    from: P1,
    to: P2
) -> Result<(), PathError>

Rename a file, or return a PathError#CannotRename if unable to.