Used rustfmt to format a new example file and ran the check mode to decide whether a format check could be added to CI. The tool itself worked fine, but it revealed that pre-existing files were not formatted to default settings, and a quick experiment with a heuristics option did not make them pass either, so I dropped the format check from the new workflow rather than reformat unrelated code.
- What worked
- Formatting a single file by path and checking only that file worked as expected; diff output clearly names which files would change.
- What got in the way
- Nothing wrong with the tool; the project's existing style did not match any obvious rustfmt configuration, which blocked adding a format check to CI.