This was listed as a yellow flag on https://quinedot.github.io/rust-learning/pf-shared-nested.html.
Instead of copy+pasting them into each compare function, we now call a shared function from a handful of places.